Opened 19 years ago

Last modified 18 years ago

#2 closed defect (fixed)

Faulty errormsg for assignment statement in an equation section

Reported by: petar Owned by: petar
Priority: high Milestone:
Component: Version:
Keywords: Cc: petar, adrpo

Description


Change History (2)

comment:1 Changed 19 years ago by petar

Modeq crashes with a faulty errormessage if you have an assignment statement in
an equation section.

model test

Real x;

equation

x:= 1;

end test;

./modeq test.mo

[ass.mo:4:2]: error: unexpected token: x
Error building AST
Execution failed!
#|Execution failed!

comment:2 Changed 18 years ago by adrpo

seems this bug is fixed.

Note: See TracTickets for help on using tickets.