summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-10-19 20:02:00 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-10-19 20:02:00 (GMT)
commitfea2d924d8513ecf37c7942e04e2396b976a854a (patch)
tree7c0bc962cb1a9002dc9a21006dd8be4f49cd9c7c /src/pre.l
parent089a5c16df9e08b8f38be4578c2e7cb5799fa9b2 (diff)
downloadDoxygen-fea2d924d8513ecf37c7942e04e2396b976a854a.zip
Doxygen-fea2d924d8513ecf37c7942e04e2396b976a854a.tar.gz
Doxygen-fea2d924d8513ecf37c7942e04e2396b976a854a.tar.bz2
Release-1.3.4-20031019
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pre.l b/src/pre.l
index 6a26378..2855190 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1669,7 +1669,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
outputArray(yytext,yyleng);
BEGIN(SkipCComment);
}
-<SkipCComment,SkipVerbatim>[^*\n\/]+ {
+<SkipCComment,SkipVerbatim>[^*\x06\n\/]+ {
outputArray(yytext,yyleng);
}
<SkipCComment,SkipVerbatim>\n {
@@ -1682,7 +1682,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
<RemoveCComment>"*/" { BEGIN(g_lastCContext); }
<RemoveCComment>"//"
<RemoveCComment>"/*"
-<RemoveCComment>[^*\n]+
+<RemoveCComment>[^*\x06\n]+
<RemoveCComment>\n { g_yyLineNr++; outputChar('\n'); }
<RemoveCComment>.
<SkipCPPComment,RemoveCPPComment>\n {
@@ -1695,7 +1695,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
<SkipCPPComment>"//" {
outputChar('/');outputChar('/');
}
-<SkipCPPComment>[^\n]+ {
+<SkipCPPComment>[^\x06\n]+ {
outputArray(yytext,yyleng);
}
<SkipCPPComment>. {
@@ -1703,7 +1703,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
<RemoveCPPComment>"/*"
<RemoveCPPComment>"//"
-<RemoveCPPComment>[^\n]+
+<RemoveCPPComment>[^\x06\n]+
<RemoveCPPComment>.
<DefineText>"#" {
g_quoteArg=TRUE;