Skip to content

Pick up the parser's Unicode line separators as whitespace - #304

Merged
revarbat merged 1 commit into
mainfrom
deps/parser-line-separators
Oct 26, 2026
Merged

revarbat merged 1 commit into
mainfrom
deps/parser-line-separators

Conversation

@revarbat

Copy link
Copy Markdown
Member

Refs BelfrySCAD/BelfrySCAD#949

Bumps external/openscad_cpp_parser to BelfrySCAD/openscad_cpp_parser#16. With it, U+2028, U+2029 and U+0085 lex as whitespace instead of failing with "unexpected character". A // comment also ends at one of them. They don't advance the line counter, so line numbers keep matching the editor's, and byte offsets are unchanged.

All 2195 tests pass locally (parser and evaluator).

🤖 Generated with Claude Code

U+2028, U+2029 and U+0085 now lex as whitespace that also ends a //
comment, without advancing the line counter, so a file holding one --
Qt's editor types U+2028 for Shift+Enter -- parses rather than failing
with "unexpected character". BelfrySCAD #949.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@revarbat
revarbat merged commit fac375b into main Oct 26, 2026
3 checks passed
@revarbat
revarbat deleted the deps/parser-line-separators branch October 26, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant