bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ignore #include in string


From: Hideki IWAMOTO
Subject: [PATCH] ignore #include in string
Date: Fri, 21 Mar 2003 18:11:34 +0900

Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.104
diff -u -r1.104 htags.in
--- htags/htags.in      20 Mar 2003 17:04:28 -0000      1.104
+++ htags/htags.in      21 Mar 2003 09:06:15 -0000
@@ -2068,7 +2068,7 @@
                        local($converted);
                        s/\r$//;
                        # make link for include file
-                       if (!$INCOMMENT && /^[ \t]*#[ \t]*include/) {
+                       if (!$INCOMMENT && !$quote && /^[ \t]*#[ \t]*include/) {
                                local($last, $sep) = m![</"]([^</"]+)([">])!;
                                if (defined $'includes{$last}) {
                                        local($link);


----
Hideki IWAMOTO  address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]