summaryrefslogtreecommitdiffstats
path: root/grammar/rscript.l
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/rscript.l')
-rw-r--r--grammar/rscript.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/grammar/rscript.l b/grammar/rscript.l
index 10ce1748..f94ad43a 100644
--- a/grammar/rscript.l
+++ b/grammar/rscript.l
@@ -101,11 +101,10 @@ static int preCommentState;
<INOBJ>")" { printf("OBJ end\n");
BEGIN INITIAL;
}
-<INOBJ>[a-z][a-z0-9_]* { printf("INOBJ: name '%s'\n", yytext);
+<INOBJ>[a-z][a-z0-9_\.]* { printf("INOBJ: name '%s'\n", yytext);
}
<INOBJ>"=" { printf("INOBJ: equals\n");
}
-<INOBJ>[a-z0-9\.,_\+\-\/]* |
<INOBJ>\"([^"\\]|\\['"?\\abfnrtv]|\\[0-7]{1,3})*\" {
printf("INOBJ: value '%s'\n", yytext);
BEGIN INOBJ;