aboutsummaryrefslogtreecommitdiff
path: root/parser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'parser.lua')
-rw-r--r--parser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.lua b/parser.lua
index 8cb96ea..523e223 100644
--- a/parser.lua
+++ b/parser.lua
@@ -60,7 +60,7 @@ local peg_tidier = re.compile([[ file <- %nl* {~ (captured_def/line) (%nl+ (c
captured_def <-
({ident} (" "*) "(" {ident} ")" (" "*) "<-" {[^%nl]* (%nl+ " "+ [^%nl]*)*}) ->
"%1 <- ({| {:type:''->'%2':} {:start:{}:}
- %3
+ (%3)
{:stop:{}:} |} %%userdata) -> Tree"
]])
local make_parser