[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] multi-byte code
From: |
Hideki IWAMOTO |
Subject: |
[PATCH] multi-byte code |
Date: |
Fri, 21 Mar 2003 00:30:03 +0900 |
htags does not recognize the symbol which consists of a multi-byte code in the
head of a line.
Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.103
diff -u -r1.103 htags.in
--- htags/htags.in 20 Mar 2003 12:06:19 -0000 1.103
+++ htags/htags.in 20 Mar 2003 15:10:52 -0000
@@ -2160,7 +2160,7 @@
}
# set tag marks and save hyperlink into
@links
if (ord($TAG) > 127) { # for
multi-byte code
- if (s/([\x00-\x7f])$TAG([
\t\004]*\()/$1\005$count\005$2/ ||
s/([\x00-\x7f])$TAG([\x00-\x7f])/$1\005$count\005$2/) {
+ if (s/([\x00-\x7f]|^)$TAG([
\t\004]*\()/$1\005$count\005$2/ ||
s/([\x00-\x7f]|^)$TAG([\x00-\x7f])/$1\005$count\005$2/) {
$count++;
push(@links, $href);
} else {
----
Hideki IWAMOTO address@hidden
- [PATCH] multi-byte code,
Hideki IWAMOTO <=