Commit c2fd751
feat: allow " inside triple-quoted GStrings
76.1% -> 77.2% parse rate. interpolated_triple_quoted_string used
string_content (/[^$"\\]+/), which stopped at any double quote, so a
YAML-style versions block inside a script string broke:
"""
"${task.process}":
tool: ...
"""
New triple_string_content token only stops at the closing """, $ and \\,
so lone/doubled quotes are ordinary content.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XaTroL9k3feq3MTAptE9bD1 parent ccb73c3 commit c2fd751
9 files changed
Lines changed: 31043 additions & 30935 deletions
File tree
- lib/macos-arm64
- src
- test/corpus
- advanced
- dsl2
- strict_syntax_v2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
| 906 | + | |
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
913 | 917 | | |
914 | 918 | | |
915 | 919 | | |
| |||
Binary file not shown.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments