From be33de3909100a204726cdde52bf6077e890ca6d Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 13 Mar 2012 20:40:52 -0700 Subject: * parser.l (ID_END): Bugfix: ID_END was defined incorrectly for the current way in which an identifier token is recognized. As a result @(collect-ing) was being interpreted as @(collect -ing). It should be the complement of NSCHR. --- ChangeLog | 7 +++++++ parser.l | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 09356ae7..f94493b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-03-13 Kaz Kylheku + + * parser.l (ID_END): Bugfix: ID_END was defined incorrectly + for the current way in which an identifier token is recognized. + As a result @(collect-ing) was being interpreted as @(collect -ing). + It should be the complement of NSCHR. + 2012-03-13 Kaz Kylheku * regex.c (regsub): the replacement argument diff --git a/parser.l b/parser.l index 732e2ce0..98a243ec 100644 --- a/parser.l +++ b/parser.l @@ -153,12 +153,12 @@ NUM [+\-]?[0-9]+ BSCHR [a-zA-Z0-9!$%&*+\-<=>?\\^_~] BSYM {BSCHR}({BSCHR}|#)* NSCHR [a-zA-Z0-9!$%&*+\-<=>?\\^_~/] +ID_END [^a-zA-Z0-9!$%&*+\-<=>?\\^_~/] NSYM {NSCHR}({NSCHR}|#)* TOK :?{SYM} ATNUM @{NUM} BTOK [:@]?{BSYM} NTOK [:@]?{NSYM} -ID_END [^a-zA-Z0-9_] WS [\t ]* HEX [0-9A-Fa-f] OCT [0-7] -- cgit v1.2.3