summaryrefslogtreecommitdiff
path: root/tools/d2c/format/tokens.l
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-10 12:09:38 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-10 12:09:38 (GMT)
commitdbd5e7fdfd43fba609fce3fafdcd38d704554d99 (patch)
tree5811a602d34993598eeea5ea56b1efc3b93f9c63 /tools/d2c/format/tokens.l
parent465488d5b231c2552116a305c48b5fcccea55a09 (diff)
Included indications to load the proper pool constants in Dalvik operands.
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; }
%%