1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 07:33:01 +00:00

Add quote special to peg syntax to make captures terser.

This commit is contained in:
Calvin Rose
2019-01-17 19:28:42 -05:00
parent 95f2bbe0a0
commit c4114fbcdb
3 changed files with 14 additions and 12 deletions

View File

@@ -878,6 +878,7 @@ static const SpecialPair specials[] = {
{"not", spec_not},
{"opt", spec_opt},
{"position", spec_position},
{"quote", spec_capture},
{"range", spec_range},
{"replace", spec_replace},
{"sequence", spec_sequence},