diff options
author | Undecidable Robot <undecidabot@gmail.com> | 2016-05-16 17:42:42 +0800 |
---|---|---|
committer | Undecidable Robot <undecidabot@gmail.com> | 2016-05-16 17:42:42 +0800 |
commit | c96e44d5bf5db7ddc58da3cb5454be3544892125 (patch) | |
tree | cafb01275a07c23ef730df0d6c5ddd07dcba69c6 /testerrors.lua | |
parent | ab140456610fb851248198d22e8fc12b1c82a4ad (diff) | |
download | lpeglabel-c96e44d5bf5db7ddc58da3cb5454be3544892125.tar.gz lpeglabel-c96e44d5bf5db7ddc58da3cb5454be3544892125.tar.bz2 lpeglabel-c96e44d5bf5db7ddc58da3cb5454be3544892125.zip |
Adding error recovery to some missing closing tokens
Diffstat (limited to 'testerrors.lua')
-rw-r--r-- | testerrors.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testerrors.lua b/testerrors.lua index 7ffcd04..dff35df 100644 --- a/testerrors.lua +++ b/testerrors.lua | |||
@@ -102,7 +102,12 @@ local patterns = { | |||
102 | -- 71-73 | 102 | -- 71-73 |
103 | [['a'/{1}'b'/'c']], | 103 | [['a'/{1}'b'/'c']], |
104 | [[x <- {:x:}]], | 104 | [[x <- {:x:}]], |
105 | [[&'p'/&/!/'p'^'q']] | 105 | [[&'p'/&/!/'p'^'q']], |
106 | [[ | ||
107 | A <- 'a' (B 'b' | ||
108 | B <- 'x' / ! | ||
109 | C <- 'c' | ||
110 | ]] | ||
106 | } | 111 | } |
107 | 112 | ||
108 | for i, patt in ipairs(patterns) do | 113 | for i, patt in ipairs(patterns) do |