diff options
| author | Ryo Nihei <nihei.dev@gmail.com> | 2021-06-20 02:52:06 +0900 |
|---|---|---|
| committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-06-20 02:52:06 +0900 |
| commit | b453a5c93d7ec305d1e664bb24eea2cc77ccc761 (patch) | |
| tree | 632c0fce4b0ae63e80990e6d0ae7f572b680daa1 /spec/lexspec.json | |
| parent | Add CLI (diff) | |
| download | urubu-b453a5c93d7ec305d1e664bb24eea2cc77ccc761.tar.gz urubu-b453a5c93d7ec305d1e664bb24eea2cc77ccc761.tar.xz | |
Add syntax of comments
Diffstat (limited to 'spec/lexspec.json')
| -rw-r--r-- | spec/lexspec.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lexspec.json b/spec/lexspec.json index 7889f3e..86d58ae 100644 --- a/spec/lexspec.json +++ b/spec/lexspec.json @@ -34,6 +34,10 @@ "pattern": "\\f{newline}" }, { + "kind": "line_comment", + "pattern": "//[^\\u{000A}\\u{000D}]*" + }, + { "kind": "identifier", "pattern": "[A-Za-z_][0-9A-Za-z_]*" }, |
