Skip to content

Fix malformed decimal escape sequences preceeding a digit - #292

Merged
jeparlefrancais merged 2 commits into
mainfrom
fix-malformed-decimal-escape
Aug 8, 2025
Merged

jeparlefrancais merged 2 commits into
mainfrom
fix-malformed-decimal-escape

Conversation

@jeparlefrancais

@jeparlefrancais jeparlefrancais commented Aug 8, 2025 •

Copy link
Copy Markdown
Contributor

Closes #286 Closes #291

This PR fixes issues where darklua generated strings with decimal escapes (like "\1") before ascii digits.

  • add entry to the changelog

@github-actions

github-actions Bot commented Aug 8, 2025

Copy link
Copy Markdown

Coverage after merging fix-malformed-decimal-escape into main will be

88.13%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/generator
   utils.rs91.18%100%93.94%90.88%139, 33–34, 341, 35, 355–356, 37, 39, 390–394, 431–439, 63, 73, 83

@jeparlefrancais
jeparlefrancais merged commit 59c9adc into main Aug 8, 2025
@jeparlefrancais
jeparlefrancais deleted the fix-malformed-decimal-escape branch August 8, 2025 19:55
@jeparlefrancais jeparlefrancais mentioned this pull request Aug 11, 2025
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.

Darklua can generate malformed escape sequences A dense generator does not convert decimal escape sequences correctly

1 participant