leftibot 50c27cfd78 Fix #592: Local variable saw_eol in Class_Statements() was always true
The saw_eol variable in Class_Statements() was initialized to true and
only ever set back to true, making the "missing line separator" check
unreachable. The fix separates Def (block statement ending with }) from
Var_Decl (simple statement) so that Var_Decl sets saw_eol to false,
matching the pattern used in Statements() for simple expressions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 08:06:36 -06:00
..
chaiscript Fix #592: Local variable saw_eol in Class_Statements() was always true 2026-04-11 08:06:36 -06:00