(msg, type)
| 222 | } |
| 223 | |
| 224 | function error(msg, type) { |
| 225 | var e = new Error(msg); |
| 226 | e.index = i; |
| 227 | e.type = type || 'Syntax'; |
| 228 | throw e; |
| 229 | } |
| 230 | |
| 231 | // Same as $(), but don't change the state of the parser, |
| 232 | // just return the match. |
no test coverage detected