summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-03-17 20:13:31 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-03-17 20:13:31 (GMT)
commit40c0613db241b9015265b2b9f3673e0c7869d3c2 (patch)
treef846ab2e854c959c8e76153065efd17e01d7a02b /src/pre.l
parent7ad88d9c5044be1e85a1cccbde20ec2fbfc3caf3 (diff)
downloadDoxygen-40c0613db241b9015265b2b9f3673e0c7869d3c2.zip
Doxygen-40c0613db241b9015265b2b9f3673e0c7869d3c2.tar.gz
Doxygen-40c0613db241b9015265b2b9f3673e0c7869d3c2.tar.bz2
Release-1.2.14-20020317
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pre.l b/src/pre.l
index 6b8b20d..1878f14 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1001,6 +1001,7 @@ static int yyread(char *buf,int max_size)
ID [a-z_A-Z][a-z_A-Z0-9]*
B [ \t]
BN [ \t\r\n]
+CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
%option noyywrap
@@ -1213,6 +1214,9 @@ BN [ \t\r\n]
g_defArgsStr+=yytext;
}
*/
+<FindDefineArgs>{CHARLIT} {
+ g_defArgsStr+=yytext;
+ }
<FindDefineArgs>\" {
g_defArgsStr+=*yytext;
BEGIN(ReadString);