summaryrefslogtreecommitdiff
path: root/bin/systrace
diff options
context:
space:
mode:
Diffstat (limited to 'bin/systrace')
-rw-r--r--bin/systrace/lex.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/lex.l b/bin/systrace/lex.l
index 7e20e0cc4e4..db1b8f3e68a 100644
--- a/bin/systrace/lex.l
+++ b/bin/systrace/lex.l
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.l,v 1.15 2003/07/19 11:48:58 sturm Exp $ */
+/* $OpenBSD: lex.l,v 1.16 2003/11/23 15:18:59 sturm Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -101,7 +101,7 @@ as { return AS; }
"!=" { return NEQUAL; }
"<" { return LESSER; }
">" { return GREATER; }
-[\$A-Za-z][\.\(\)\/A-Za-z_\-0-9]* { yylval.string = strdup(yytext); return STRING; }
+[\_\$A-Za-z][\.\(\)\/A-Za-z_\-0-9]* { yylval.string = strdup(yytext); return STRING; }
[0-9]+ { yylval.number = atoi(yytext); return NUMBER; }
\" { BEGIN(quote);
*quotestr = '\0';