diff options
| author | Ryo Nihei <nihei.dev@gmail.com> | 2021-06-30 23:44:50 +0900 |
|---|---|---|
| committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-06-30 23:54:01 +0900 |
| commit | b8b71860d7df5d06dd8a2b9ac62035e8ba8778a7 (patch) | |
| tree | c0075cd6813085401dbaf44e62ca14ec2b93d30c /spec/lexspec.json | |
| parent | Add testing for the driver (diff) | |
| download | urubu-b8b71860d7df5d06dd8a2b9ac62035e8ba8778a7.tar.gz urubu-b8b71860d7df5d06dd8a2b9ac62035e8ba8778a7.tar.xz | |
Simplify syntax of modifiers and semantic actions
Modifiers and semantic actions are represented by directives following the '#' symbol.
Diffstat (limited to 'spec/lexspec.json')
| -rw-r--r-- | spec/lexspec.json | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/lexspec.json b/spec/lexspec.json index 76fb0e9..6d1dd93 100644 --- a/spec/lexspec.json +++ b/spec/lexspec.json @@ -31,7 +31,7 @@ }, { "kind": "newline", - "pattern": "\\f{newline}" + "pattern": "\\f{newline}+" }, { "kind": "line_comment", @@ -79,11 +79,7 @@ "pattern": ";" }, { - "kind": "modifier_marker", - "pattern": "@" - }, - { - "kind": "action_leader", + "kind": "directive_marker", "pattern": "#" }, { |
