diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-12-18 13:18:36 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-12-18 13:18:36 -0800 |
commit | a142e057162499db0df37e8abf5e515c6e297a04 (patch) | |
tree | c450439f6a7b66a27c585cba38173140e7c69130 /modelica-parser-lalrpop/src/parser.lalrpop | |
parent | 105db26ee52763474f014f86655c4ebc3830f63c (diff) | |
download | modelthing-a142e057162499db0df37e8abf5e515c6e297a04.tar.gz modelthing-a142e057162499db0df37e8abf5e515c6e297a04.zip |
parser: quantity field for component declaration
Diffstat (limited to 'modelica-parser-lalrpop/src/parser.lalrpop')
-rw-r--r-- | modelica-parser-lalrpop/src/parser.lalrpop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modelica-parser-lalrpop/src/parser.lalrpop b/modelica-parser-lalrpop/src/parser.lalrpop index 2c64889..a2c5d44 100644 --- a/modelica-parser-lalrpop/src/parser.lalrpop +++ b/modelica-parser-lalrpop/src/parser.lalrpop @@ -54,7 +54,7 @@ component_clause: ComponentClause = { component_declaration: ComponentDeclaration = { <name:identifier> <units:units_declaration?> <value:value_declaration?> <desc:string_literal?> (",")? => - ComponentDeclaration { name:name, description:desc, value:value, units:units }, + ComponentDeclaration { name:name, description:desc, value:value, units:units, quantity:None }, }; component_prefix: ComponentPrefix = { |