Skip to content

add magic number to error offset#153

Closed
thedavidmeister wants to merge 1 commit intomainfrom
2024-02-09-offset
Closed

add magic number to error offset#153
thedavidmeister wants to merge 1 commit intomainfrom
2024-02-09-offset

Conversation

@thedavidmeister
Copy link
Copy Markdown
Contributor

@thedavidmeister thedavidmeister commented Feb 8, 2024

fixes #152

thedavidmeister added a commit that referenced this pull request Apr 13, 2026
Parse error offsets are now tagged with a magic number in the high bits
so callers can distinguish Rain parse errors from other revert data.

Adds tagErrorOffset, parseOffset, and isRainParseError to LibParseError.
Fixes build warnings (view/pure mutability).

Closes #152, closes #153.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

include a magic number for error offsets

1 participant