summaryrefslogtreecommitdiff
path: root/test/files/neg/t5702-neg-bad-and-wild.check
Commit message (Collapse)AuthorAgeFilesLines
* deprecate Pair and TripleDen Shabalin2013-11-201-1/+1
|
* Parser stack reduction discussionSom Snytt2013-11-081-7/+7
| | | | Check files
* Rewrites the parser stack reduction logic.Paul Phillips2013-11-081-1/+1
| | | | | | | Centralizes the scattered logic surrounding erroneous pattern syntax. Consolidates the redundant lookahead implementations. Eliminates var manipulation in favor of recursion.
* SI-5702 Pattern parser halts on starSom Snytt2012-04-261-0/+28
In patterns, the parser halts when it sees stars. This means it does not handle infix notation for a case class named "*". This patch uses lookahead to decide whether to parse '_' '*' as a sequence pattern or as the start of infix. (For both normal and error cases, the tokens are always consumed immediately.) Error messages are improved for _* (as a help to learners) and slightly improved recovery helps the parse continue. The entry point for XML patterns is now distinct; otherwise, the change is local to pattern3-simplepattern; the entry point for simplepattern() is unchanged because it is commented "hook for IDE."