diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-02-10 12:09:38 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-02-10 12:09:38 (GMT) |
commit | dbd5e7fdfd43fba609fce3fafdcd38d704554d99 (patch) | |
tree | 5811a602d34993598eeea5ea56b1efc3b93f9c63 /tools/d2c/format/grammar.y | |
parent | 465488d5b231c2552116a305c48b5fcccea55a09 (diff) |
Included indications to load the proper pool constants in Dalvik operands.
Diffstat (limited to 'tools/d2c/format/grammar.y')
-rw-r--r-- | tools/d2c/format/grammar.y | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/d2c/format/grammar.y b/tools/d2c/format/grammar.y index 062d616..5cae2f8 100644 --- a/tools/d2c/format/grammar.y +++ b/tools/d2c/format/grammar.y @@ -38,7 +38,7 @@ YY_DECL; } -%token OPS_TYPE +%token OPS_TYPE OR %type <string> OPS_TYPE @@ -47,7 +47,10 @@ YY_DECL; %% -type : OPS_TYPE { set_operands_format_type(format, $1); } +types : type + | type OR types + +type : OPS_TYPE { add_operands_format_type(format, $1); } %% |