[Commit] nickle ChangeLog,1.30,1.31 lex.l,1.71,1.72
Bart Massey
commit at keithp.com
Thu Apr 15 20:37:14 PDT 2004
- Previous message: [Commit] nickle ChangeLog,1.29,1.30 hash.c,1.5,1.6
- Next message: [Commit] nickle ChangeLog, 1.31, 1.32 array.c, 1.23,
1.24 builtin-file.c, 1.14, 1.15 builtin-string.c, 1.7,
1.8 builtin-toplevel.c, 1.22, 1.23 builtin.5c, 1.5,
1.6 compile.c, 1.147, 1.148 execute.c, 1.88, 1.89 file.c, 1.60,
1.61 gram.y, 1.129, 1.130 hash.c, 1.6, 1.7 main.c, 1.36,
1.37 sched.c, 1.54, 1.55 scope.c, 1.28, 1.29 type.c, 1.61,
1.62 value.c, 1.45, 1.46 value.h, 1.100, 1.101
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: bart
Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv1113
Modified Files:
ChangeLog lex.l
Log Message:
Allow identifiers to start with "_".
Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/nickle/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- a/ChangeLog 15 Apr 2004 05:37:36 -0000 1.30
+++ b/ChangeLog 16 Apr 2004 03:37:12 -0000 1.31
@@ -1,3 +1,8 @@
+2004-04-15 Bart Massey <bart at cs.pdx.edu>
+
+ * lex.l:
+ Allow identifiers to start with "_".
+
2004-04-14 Bart Massey <bart at cs.pdx.edu>
reviewed by: Keith Packard <keithp at keithp.com>
Index: lex.l
===================================================================
RCS file: /local/src/CVS/nickle/lex.l,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- a/lex.l 11 Apr 2004 06:06:52 -0000 1.71
+++ b/lex.l 16 Apr 2004 03:37:12 -0000 1.72
@@ -543,7 +543,7 @@
yylval.value = aetov (yytext, 10);
return TEN_FLOAT;
}
-[a-zA-Z][0-9a-zA-Z_]* {
+[a-zA-Z_][0-9a-zA-Z_]* {
CommandPtr c;
SymbolPtr symbol;
yylval.atom = AtomId (yytext);
- Previous message: [Commit] nickle ChangeLog,1.29,1.30 hash.c,1.5,1.6
- Next message: [Commit] nickle ChangeLog, 1.31, 1.32 array.c, 1.23,
1.24 builtin-file.c, 1.14, 1.15 builtin-string.c, 1.7,
1.8 builtin-toplevel.c, 1.22, 1.23 builtin.5c, 1.5,
1.6 compile.c, 1.147, 1.148 execute.c, 1.88, 1.89 file.c, 1.60,
1.61 gram.y, 1.129, 1.130 hash.c, 1.6, 1.7 main.c, 1.36,
1.37 sched.c, 1.54, 1.55 scope.c, 1.28, 1.29 type.c, 1.61,
1.62 value.c, 1.45, 1.46 value.h, 1.100, 1.101
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commit
mailing list