Moti Zilberman
d3af158ba5
Annotate more errors with expected token ( #172 )
...
Expanding on #150 , this allows `unexpected()` to accept the expected token type instead of a message string.
This overload is then used in a couple more places (that independently implement a logic similar to `expect()`'s) to construct an `Unexpected token, expected FOO` message.
2016-10-14 16:10:09 -04:00
..
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-10-05 16:40:43 +01:00
2015-11-03 01:19:35 +00:00
2015-10-05 16:40:43 +01:00
2015-08-11 00:59:15 +01:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-08-11 00:59:15 +01:00
2015-10-05 16:40:43 +01:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2016-10-14 16:10:09 -04:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00