diff options
author | Sergio Queiroz <sqmedeiros@gmail.com> | 2017-07-06 16:04:29 -0300 |
---|---|---|
committer | Sergio Queiroz <sqmedeiros@gmail.com> | 2017-07-06 16:04:29 -0300 |
commit | 25d210b899e675cde66f6a6b2c7a047b6ad1ec81 (patch) | |
tree | f0f8c0d129d3f6166a655e594150dfba4b00b34d | |
parent | e2a8e1c789a7a769c83a66d6fd2f191b0e465cba (diff) | |
download | lpeglabel-25d210b899e675cde66f6a6b2c7a047b6ad1ec81.tar.gz lpeglabel-25d210b899e675cde66f6a6b2c7a047b6ad1ec81.tar.bz2 lpeglabel-25d210b899e675cde66f6a6b2c7a047b6ad1ec81.zip |
Updating the error message
-rw-r--r-- | testrelabelparser.lua | 8 |
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 | ||
56 | testerror([['p' //{1}]], [[ | 56 | testerror([['p' //{1}]], [[ |
57 | L1:C10: expected a pattern after '/' or '//{...}' | 57 | L1:C10: expected a pattern after '/' and '//{...}', or the label(s) after '/{' and '//{' |
58 | 'p' //{1} | 58 | 'p' //{1} |
59 | ^ | 59 | ^ |
60 | ]]) | 60 | ]]) |
61 | 61 | ||
62 | testerror([['p' //{1} //{2} 'q']], [[ | 62 | testerror([['p' //{1} //{2} 'q']], [[ |
63 | L1:C10: expected a pattern after '/' or '//{...}' | 63 | L1: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 | ||
68 | testerror([['p' /]], [[ | 68 | testerror([['p' /]], [[ |
69 | L1:C6: expected a pattern after '/' or '//{...}' | 69 | L1:C6: expected a pattern after '/' and '//{...}', or the label(s) after '/{' and '//{' |
70 | 'p' / | 70 | 'p' / |
71 | ^ | 71 | ^ |
72 | ]]) | 72 | ]]) |
73 | 73 | ||
74 | testerror([['p' / / 'q']], [[ | 74 | testerror([['p' / / 'q']], [[ |
75 | L1:C6: expected a pattern after '/' or '//{...}' | 75 | L1:C6: expected a pattern after '/' and '//{...}', or the label(s) after '/{' and '//{' |
76 | 'p' / / 'q' | 76 | 'p' / / 'q' |
77 | ^ | 77 | ^ |
78 | ]]) | 78 | ]]) |