Skip to content

Conversation

@AltGr
Copy link
Collaborator

@AltGr AltGr commented Oct 29, 2025

Fix wrong parsing of text as comment; improve whitespace handling (handling nbsp, etc.)

Some cleanup of obsolete tokens no longer in Catala

and a small fix to the emacs mode that wrongly used tree-sitter-hl ­— that shouldn't be needed.

INTERNAL: "internal",
Round: "round",
DECIMAL_LITERAL: /-?[0-9]+\.[0-9]+/,
MONEY_AMOUNT: /-?\$[0-9]([0-9,]*[0-9])?(\.[0-9]{0,2})?/,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops the removal of the - was unintentional, that fix was a rebase of an older commit. Will fix

@AltGr AltGr force-pushed the fixsp branch 3 times, most recently from 1bed536 to 537bc81 Compare October 29, 2025 18:36
@vincent-botbol vincent-botbol merged commit 773af2b into master Nov 3, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Catala - language & tooling Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants