diff options
| author | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-09 23:52:56 +0900 |
|---|---|---|
| committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-10 23:14:52 +0900 |
| commit | 054307b6c99ab962cfa9bcb4c4d50f3aea5406ea (patch) | |
| tree | 73aea74559c64f3bcb55f3a39b2399714b616174 /spec/lexspec.json | |
| parent | Change the default suffix of a grammar file from .vr to .vartan (diff) | |
| download | cotia-054307b6c99ab962cfa9bcb4c4d50f3aea5406ea.tar.gz cotia-054307b6c99ab962cfa9bcb4c4d50f3aea5406ea.tar.xz | |
Make the identifier format strict
Diffstat (limited to 'spec/lexspec.json')
| -rw-r--r-- | spec/lexspec.json | 2 |
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", |
