aboutsummaryrefslogtreecommitdiff
path: root/spec/lexspec.json
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-03-28 01:30:49 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-03-28 01:45:11 +0900
commit1746609e248151d575f6e3913ad5023fd421bfff (patch)
tree9312ac986191b3798125e2d3cc41518601d9b9e2 /spec/lexspec.json
parentFollow golangci-lint (diff)
downloadurubu-1746609e248151d575f6e3913ad5023fd421bfff.tar.gz
urubu-1746609e248151d575f6e3913ad5023fd421bfff.tar.xz
Simplify the syntax of #ast directive
This change allows using the simple syntax of the directive like `#ast $1 $3...` instead of `#ast #(foo $1 $3...)`.
Diffstat (limited to 'spec/lexspec.json')
-rw-r--r--spec/lexspec.json8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/lexspec.json b/spec/lexspec.json
index 8175f99..a60624e 100644
--- a/spec/lexspec.json
+++ b/spec/lexspec.json
@@ -106,14 +106,6 @@
"pattern": ";"
},
{
- "kind": "tree_node_open",
- "pattern": "#\\("
- },
- {
- "kind": "tree_node_close",
- "pattern": "\\)"
- },
- {
"kind": "position",
"pattern": "$(0|[1-9][0-9]*)"
},