diff options
author | Michi Henning <michi@zeroc.com> | 2002-08-13 06:45:32 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-08-13 06:45:32 +0000 |
commit | 188bed46ca85b141af937ebab48ac2b25aa23ebb (patch) | |
tree | e0e2a25fc3f120c5e5fb7e5f94a1cb35148ce688 /cpp/src/Slice/Scanner.l | |
parent | Changed nonmutating from metadata do keyword. (diff) | |
download | ice-188bed46ca85b141af937ebab48ac2b25aa23ebb.tar.bz2 ice-188bed46ca85b141af937ebab48ac2b25aa23ebb.tar.xz ice-188bed46ca85b141af937ebab48ac2b25aa23ebb.zip |
Fixed assertion bug for operation redefinitions.
Diffstat (limited to 'cpp/src/Slice/Scanner.l')
-rw-r--r-- | cpp/src/Slice/Scanner.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Slice/Scanner.l b/cpp/src/Slice/Scanner.l index e49569aecf9..aefa6fd16d8 100644 --- a/cpp/src/Slice/Scanner.l +++ b/cpp/src/Slice/Scanner.l @@ -40,6 +40,7 @@ void initScanner(); %option noyywrap %option never-interactive +identifier \\?[[:alpha:]_][[:alnum:]_]* integer_constant (\+|-)?((0[0-7]+)|(0x[[:xdigit:]]+)|([[:digit:]]+)) fractional_constant ([[:digit:]]*\.[[:digit:]]+)|([[:digit:]]+\.) exponent_part (e|E)(\+|-)?[[:digit:]]+ @@ -121,7 +122,7 @@ floating_literal (({fractional_constant}{exponent_part}?)|([[:digit:]]+{exponent return ICE_SCOPE_DELIMITER; } -\\?[[:alpha:]_][[:alnum:]_]* { +{identifier} { StringTokPtr ident = new StringTok; ident->v = *yytext == '\\' ? yytext + 1 : yytext; *yylvalp = ident; |