Skip to content

Commit 064eb9e

Browse files
Jan ŠilarOpenModelica-Hudson
authored andcommitted
PDEModelica bugfix
grammar modified according to changes in Absyn in 85b39a0.
1 parent 1a69278 commit 064eb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/Modelica.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ equality_or_noretcall_equation returns [void* ast]
916916
{
917917
modelicaParserAssert(ass==0,"Equations can not contain assignments (':='), use equality ('=') instead", equality_or_noretcall_equation, $ass->line, $ass->charPosition+1, $ass->line, $ass->charPosition+2);
918918
if (cr.ast != 0) {
919-
$ast = Absyn__EQ_5fPDE(e1,e2.ast,mmc_mk_some(cr.ast));
919+
$ast = Absyn__EQ_5fPDE(e1,e2.ast,cr.ast);
920920
} else {
921921
$ast = Absyn__EQ_5fEQUALS(e1,e2.ast);
922922
}

0 commit comments

Comments
 (0)