mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-04-30 19:09:26 +08:00
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: leftibot <leftibot@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dispatchkit | ||
| language | ||
| utility | ||
| chaiscript_basic.hpp | ||
| chaiscript_defines.hpp | ||
| chaiscript_stdlib.hpp | ||
| chaiscript_threading.hpp | ||
| chaiscript.hpp | ||