Skip to content

Commit

Permalink
fix: Ensure the longest \r\n match is first in AsciiEscape
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Mar 5, 2024
1 parent b2a6ef4 commit 8de0c1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/solidity/inputs/language/src/definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3912,9 +3912,9 @@ codegen_language_macros::compile!(Language(
Atom("'"),
Atom("\""),
Atom("\\"),
Atom("\n"),
Atom("\r\n"),
Atom("\r"),
Atom("\r\n")
Atom("\n")
])
),
Fragment(
Expand Down
2 changes: 1 addition & 1 deletion crates/solidity/outputs/spec/generated/grammar.ebnf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8de0c1a

Please sign in to comment.