aboutsummaryrefslogtreecommitdiff
path: root/spec/lexspec.json
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-05-09 23:52:56 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-05-10 23:14:52 +0900
commit054307b6c99ab962cfa9bcb4c4d50f3aea5406ea (patch)
tree73aea74559c64f3bcb55f3a39b2399714b616174 /spec/lexspec.json
parentChange the default suffix of a grammar file from .vr to .vartan (diff)
downloadcotia-054307b6c99ab962cfa9bcb4c4d50f3aea5406ea.tar.gz
cotia-054307b6c99ab962cfa9bcb4c4d50f3aea5406ea.tar.xz
Make the identifier format strict
Diffstat (limited to 'spec/lexspec.json')
-rw-r--r--spec/lexspec.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lexspec.json b/spec/lexspec.json
index 7222be0..b8b67f5 100644
--- a/spec/lexspec.json
+++ b/spec/lexspec.json
@@ -44,7 +44,7 @@
},
{
"kind": "identifier",
- "pattern": "[A-Za-z_][0-9A-Za-z_]*"
+ "pattern": "[0-9A-Za-z_]+"
},
{
"kind": "terminal_open",