From 85e9fef4aa8855b6660ce8c8cc8d6f5fb0d507b6 Mon Sep 17 00:00:00 2001 From: Felix Perktold Date: Sun, 21 Dec 2025 23:05:40 +0100 Subject: more pretty printing --- lisp.l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp.l') diff --git a/lisp.l b/lisp.l index 5ad5c57..20b64af 100644 --- a/lisp.l +++ b/lisp.l @@ -7,7 +7,8 @@ int tcnt = 0; %} %% -[[:space:]]+ { /*ignore whitespace*/} +[[:space:]]+ { /* ignore whitespace */ } +";"[^\n]* { /* ignore comment */ } "(" { return LPAREN; } ")" { return RPAREN; } "\." { return DOT; } -- cgit v1.2.3