aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Queiroz <sqmedeiros@gmail.com>2017-07-06 16:04:29 -0300
committerSergio Queiroz <sqmedeiros@gmail.com>2017-07-06 16:04:29 -0300
commit25d210b899e675cde66f6a6b2c7a047b6ad1ec81 (patch)
treef0f8c0d129d3f6166a655e594150dfba4b00b34d
parente2a8e1c789a7a769c83a66d6fd2f191b0e465cba (diff)
downloadlpeglabel-25d210b899e675cde66f6a6b2c7a047b6ad1ec81.tar.gz
lpeglabel-25d210b899e675cde66f6a6b2c7a047b6ad1ec81.tar.bz2
lpeglabel-25d210b899e675cde66f6a6b2c7a047b6ad1ec81.zip
Updating the error message
-rw-r--r--testrelabelparser.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/testrelabelparser.lua b/testrelabelparser.lua
index 5a43621..2ca8528 100644
--- a/testrelabelparser.lua
+++ b/testrelabelparser.lua
@@ -54,25 +54,25 @@ L1:C5: unexpected characters after the pattern
54-- testing ExpPatt1 54-- testing ExpPatt1
55 55
56testerror([['p' //{1}]], [[ 56testerror([['p' //{1}]], [[
57L1:C10: expected a pattern after '/' or '//{...}' 57L1:C10: expected a pattern after '/' and '//{...}', or the label(s) after '/{' and '//{'
58'p' //{1} 58'p' //{1}
59 ^ 59 ^
60]]) 60]])
61 61
62testerror([['p' //{1} //{2} 'q']], [[ 62testerror([['p' //{1} //{2} 'q']], [[
63L1:C10: expected a pattern after '/' or '//{...}' 63L1:C10: expected a pattern after '/' and '//{...}', or the label(s) after '/{' and '//{'
64'p' //{1} //{2} 'q' 64'p' //{1} //{2} 'q'
65 ^ 65 ^
66]]) 66]])
67 67
68testerror([['p' /]], [[ 68testerror([['p' /]], [[
69L1:C6: expected a pattern after '/' or '//{...}' 69L1:C6: expected a pattern after '/' and '//{...}', or the label(s) after '/{' and '//{'
70'p' / 70'p' /
71 ^ 71 ^
72]]) 72]])
73 73
74testerror([['p' / / 'q']], [[ 74testerror([['p' / / 'q']], [[
75L1:C6: expected a pattern after '/' or '//{...}' 75L1:C6: expected a pattern after '/' and '//{...}', or the label(s) after '/{' and '//{'
76'p' / / 'q' 76'p' / / 'q'
77 ^ 77 ^
78]]) 78]])