summaryrefslogtreecommitdiff
path: root/tools/d2c/format/tokens.l
diff options
context:
space:
mode:
Diffstat (limited to 'tools/d2c/format/tokens.l')
-rw-r--r--tools/d2c/format/tokens.l6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/d2c/format/tokens.l b/tools/d2c/format/tokens.l
index 12ca7f0..9dd9301 100644
--- a/tools/d2c/format/tokens.l
+++ b/tools/d2c/format/tokens.l
@@ -12,15 +12,13 @@
%option yylineno
%option noyy_top_state
-%x bsize
-
%%
-" " { }
+" " { }
[A-Za-z0-9_]* { yylvalp->string = strdup(yytext); return OPS_TYPE; }
-
+"|" { return OR; }
%%