aboutsummaryrefslogtreecommitdiff
path: root/grammars/lisp.bp
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-20 15:46:21 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-20 15:46:21 -0800
commitb50ad0cad099c99d4e739fc465b69779f661b77d (patch)
treee050a7b9b5dfcae56540a19527e05e918edb93cb /grammars/lisp.bp
parentb4c8a33a0cbf4938b53458ded4d46efc6e8820ab (diff)
Fixed grammar syntax for `..%`
Diffstat (limited to 'grammars/lisp.bp')
-rw-r--r--grammars/lisp.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/lisp.bp b/grammars/lisp.bp
index a3e525c..25e2312 100644
--- a/grammars/lisp.bp
+++ b/grammars/lisp.bp
@@ -7,10 +7,10 @@
# See the accompanying README.md for more info.
comment: ";" ..$
-string: `" .. `" % (`\.)
+string: `" ..%(`\.) `"
list: parens
function-def: `(__"defun"|__id
-function: function-def .. `) % parens
+function: function-def ..%parens `)
id-char: `A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~
id: !<`A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~ +`A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~
|: !<`A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~ / !`A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~