aboutsummaryrefslogtreecommitdiff
path: root/testlabel.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testlabel.lua')
-rw-r--r--testlabel.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/testlabel.lua b/testlabel.lua
index f7180a7..67dc36b 100644
--- a/testlabel.lua
+++ b/testlabel.lua
@@ -1,5 +1,7 @@
1local m = require 'lpeglabel' 1local m = require 'lpeglabel'
2 2
3p = m.Lc(true, true, 1, 3)
4
3local p, r, l, s, serror 5local p, r, l, s, serror
4 6
5-- throws a label 7-- throws a label
@@ -133,7 +135,6 @@ assert(p:match("B") == 2)
133p = m.Lc(m.P"A", m.P(false), 1) + m.P("B") 135p = m.Lc(m.P"A", m.P(false), 1) + m.P("B")
134assert(p:match("B") == 2) 136assert(p:match("B") == 2)
135 137
136
137--[[ 138--[[
138S -> A /{1} 'a' 139S -> A /{1} 'a'
139A -> B 140A -> B