Skip to content

Commit

Permalink
Merge pull request #1216 from sogaiu/tweak-test-grammar-peg
Browse files Browse the repository at this point in the history
Update and ascii-sort string escapes in peg
  • Loading branch information
bakpakin authored Jul 8, 2023
2 parents 026c64f + 5a5e70b commit 5437744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/suite-peg.janet
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
(set "!$%&*+-./:<?=>@^_|"))
:token (some :symchars)
:hex (range "09" "af" "AF")
:escape (* "\\" (+ (set "ntrvzf0e\"\\")
:escape (* "\\" (+ (set `"'0?\abefnrtvz`)
(* "x" :hex :hex)
(error (constant "bad hex escape"))))
:comment (/ '(* "#" (any (if-not (+ "\n" -1) 1))) (constant :comment))
Expand Down

0 comments on commit 5437744

Please sign in to comment.