Opened 20 years ago

Last modified 18 years ago

#2 closed defect (fixed)

Faulty errormsg for assignment statement in an equation section

Reported by: Peter Aronsson Owned by: Peter Aronsson
Priority: high Milestone:
Component: Version:
Keywords: Cc: Peter Aronsson, Adrian Pop

Description


Change History (2)

comment:1 by Peter Aronsson, 20 years ago

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 by Adrian Pop, 18 years ago

seems this bug is fixed.

Note: See TracTickets for help on using tickets.