Skip to content

Commit

Permalink
Fix for unassigned variable in function
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Mar 31, 2016
1 parent 536d88e commit 3b38cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Parsers/SimpleModelicaParser.mo
Expand Up @@ -922,7 +922,7 @@ algorithm
(tokens, tree) := scanOpt(tokens, tree, TokenId.FINAL);
(tokens, tree, b) := LA1(tokens, tree, {TokenId.REPLACEABLE});
if b then
(tokens, tree) := element_replaceable(tokens, tree);
(tokens, tree, nodeName) := element_replaceable(tokens, tree);
else
(tokens, tree, b) := LA1(tokens, tree, First.class_prefixes);
if b then
Expand Down

0 comments on commit 3b38cab

Please sign in to comment.