From 9c6e5ab142375402e53400ace3d3381fb929c9c5 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Fri, 26 Nov 1993 16:09:24 +0000 Subject: [PATCH] Put definitions inside ()'s so we can test -l option for "make bigcheck" --- scan.l | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scan.l b/scan.l index 8686db1..07967fb 100644 --- a/scan.l +++ b/scan.l @@ -68,17 +68,17 @@ WS [ \t]+ OPTWS [ \t]* NOT_WS [^ \t\n] -NL \n|\r\n|\n\r +NL (\n|\r\n|\n\r) -NAME [a-z_][a-z_0-9-]* +NAME ([a-z_][a-z_0-9-]*) NOT_NAME [^a-z_*\n]+ SCNAME {NAME} -ESCSEQ \\([^\n]|[0-9]{1,3}|x[0-9a-f]{1,2}) +ESCSEQ (\\([^\n]|[0-9]{1,3}|x[0-9a-f]{1,2})) -FIRST_CCL_CHAR [^\\\n]|{ESCSEQ} -CCL_CHAR [^\\\n\]]|{ESCSEQ} +FIRST_CCL_CHAR ([^\\\n]|{ESCSEQ}) +CCL_CHAR ([^\\\n\]]|{ESCSEQ}) %% static int bracelevel, didadef, indented_code, checking_used; -- 2.40.0