diff options
author | Undecidable Robot <undecidabot@gmail.com> | 2016-05-08 16:14:55 +0800 |
---|---|---|
committer | Undecidable Robot <undecidabot@gmail.com> | 2016-05-12 20:43:43 +0800 |
commit | 488fae08f969a09a6cff60470e119cf7010cf834 (patch) | |
tree | 101cd6ffbabc970fb9b884fcb712a70f9d7f8918 /testerrors.lua | |
parent | 76170bacefad40b79a1f8a93294d2c96711a3b1e (diff) | |
download | lpeglabel-488fae08f969a09a6cff60470e119cf7010cf834.tar.gz lpeglabel-488fae08f969a09a6cff60470e119cf7010cf834.tar.bz2 lpeglabel-488fae08f969a09a6cff60470e119cf7010cf834.zip |
Adding a basic error recovery mechanism
Diffstat (limited to 'testerrors.lua')
-rw-r--r-- | testerrors.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testerrors.lua b/testerrors.lua index 07bbaef..7ffcd04 100644 --- a/testerrors.lua +++ b/testerrors.lua | |||
@@ -99,9 +99,10 @@ local patterns = { | |||
99 | [[{||}]], | 99 | [[{||}]], |
100 | [[{|@|}]], | 100 | [[{|@|}]], |
101 | [['p' {| 'q' / 'r' }]], | 101 | [['p' {| 'q' / 'r' }]], |
102 | -- 71-72 | 102 | -- 71-73 |
103 | [['a'/{1}'b'/'c']], | 103 | [['a'/{1}'b'/'c']], |
104 | [[x <- {:x:}]], | 104 | [[x <- {:x:}]], |
105 | [[&'p'/&/!/'p'^'q']] | ||
105 | } | 106 | } |
106 | 107 | ||
107 | for i, patt in ipairs(patterns) do | 108 | for i, patt in ipairs(patterns) do |