Menu

#1 BriefC: Variable declaration mess

2.2.2
closed
nobody
2023-04-04
2023-03-30
No

When found an undeclared variable it doesn't behaves as it should:

  • If it is an assignation it returns Error: "; (semicolon)" expected but "identifier variable" found. but should write Error: "Unknown identifier "variable" or similar.
  • In other cases it just ignores but doesn't emit any code, so it generate a runtime error (not always though: it depends of the state of the stack .
1 Attachments

Discussion

  • Guillermo Martínez Jiménez

    • status: open --> closed
     
  • Guillermo Martínez Jiménez

    Fixed in SVN#87

     

    Last edit: Guillermo Martínez Jiménez 2023-10-13

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.