aboutsummaryrefslogtreecommitdiff
path: root/testlabel.lua
diff options
context:
space:
mode:
authorSérgio Queiroz <sqmedeiros@gmail.com>2017-12-08 10:11:50 -0300
committerSérgio Queiroz <sqmedeiros@gmail.com>2017-12-08 10:11:50 -0300
commit5ffef3da93ad53069d2510a75b11ecbb1b6e8aa7 (patch)
treee98c59a9e0aae891638eca25a25558d933fdf44f /testlabel.lua
parent030df9b4a4f4dc3a2cc5775e032f83e92d3c0097 (diff)
downloadlpeglabel-5ffef3da93ad53069d2510a75b11ecbb1b6e8aa7.tar.gz
lpeglabel-5ffef3da93ad53069d2510a75b11ecbb1b6e8aa7.tar.bz2
lpeglabel-5ffef3da93ad53069d2510a75b11ecbb1b6e8aa7.zip
Updating the examples since lpeglabel now returns an error position instead of a string and p^lab is syntatic sugar
Diffstat (limited to 'testlabel.lua')
-rw-r--r--testlabel.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testlabel.lua b/testlabel.lua
index d3d95b1..1be1343 100644
--- a/testlabel.lua
+++ b/testlabel.lua
@@ -1336,7 +1336,7 @@ g = re.compile([[
1336 WRITE <- Sp 'write' 1336 WRITE <- Sp 'write'
1337 RESERVED <- (IF / ELSE / END / READ / REPEAT / THEN / UNTIL / WRITE) ![a-z]+ 1337 RESERVED <- (IF / ELSE / END / READ / REPEAT / THEN / UNTIL / WRITE) ![a-z]+
1338 Sp <- (%s / %nl)* 1338 Sp <- (%s / %nl)*
1339]], terror) 1339]])
1340 1340
1341s = [[ 1341s = [[
1342n := 5;]] 1342n := 5;]]