summaryrefslogtreecommitdiff
path: root/lisp.l
diff options
context:
space:
mode:
Diffstat (limited to 'lisp.l')
-rw-r--r--lisp.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp.l b/lisp.l
index cb0453a..d5d2c69 100644
--- a/lisp.l
+++ b/lisp.l
@@ -7,9 +7,8 @@ int tcnt = 0;
%}
%%
-[[:space:]&&[^\n]]+ { /* ignore whitespace */ }
+[[:space:]]+ { /* ignore whitespace */ }
";"[^\n]* { /* ignore comment */ }
-\n { return NLINE; }
"(" { return LPAREN; }
")" { return RPAREN; }
"\." { return DOT; }