aboutsummaryrefslogtreecommitdiff
path: root/src/grecs-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/grecs-lex.l')
-rw-r--r--src/grecs-lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grecs-lex.l b/src/grecs-lex.l
index 9c01e0d..97571e6 100644
--- a/src/grecs-lex.l
+++ b/src/grecs-lex.l
@@ -77,7 +77,7 @@ static void parse_line_cpp(char *text, grecs_locus_t *ploc, size_t *pxlines);
%x COMMENT ML STR
WS [ \t\f][ \t\f]*
-ID [a-zA-Z_][a-zA-Z_0-9-]+
+ID [a-zA-Z_][a-zA-Z_0-9-]*
P [1-9][0-9]*
%%

Return to:

Send suggestions and report system problems to the System administrator.