Adam Strzelecki
0da4d6b755
Parser: Make exprList() not comsume endToken
...
This makes use single comcol or eat for multiple cases. Also this makes
exprList responsible for consuming only list of expressions, nothing else which
is more logical.
As a side-effect compiler is now more consistent about errors, eg.:
try # <- missing something
echo "try"
finally:
echo "finally"
Triggers: test.nim(2, 6) Error: ':' expected
try:
echo "try"
finally # <- missing something
echo "finally"
Previously triggered: test.nim(4, 6) Error: invalid indentation
But now we got: Error: ':' expected - same as in 1st case
2015-04-20 21:06:03 +02:00
..
2015-02-20 18:31:39 +01:00
2015-02-24 18:05:13 +00:00
2014-08-28 23:48:42 +02:00
2015-04-20 11:44:54 +02:00
2015-04-07 15:47:18 +02:00
2014-08-28 09:38:14 +02:00
2015-04-01 22:32:15 +08:00
2015-04-13 23:49:41 +03:00
2015-04-19 13:36:22 +02:00
2015-04-07 15:47:18 +02:00
2015-04-19 02:42:40 +02:00
2015-04-07 15:47:18 +02:00
2015-04-07 15:47:18 +02:00
2015-04-13 23:49:41 +03:00
2015-04-07 15:47:18 +02:00
2015-04-09 09:36:18 +02:00
2015-04-07 15:47:18 +02:00
2014-11-03 22:50:55 +01:00
2015-04-11 10:01:08 +02:00
2015-02-24 00:13:27 +01:00
2014-08-28 09:38:14 +02:00
2015-04-07 15:47:18 +02:00
2014-08-28 09:38:14 +02:00
2015-04-07 15:47:18 +02:00
2015-03-07 15:43:36 +01:00
2015-04-07 15:47:18 +02:00
2015-03-04 03:30:43 +01:00
2014-08-28 09:38:14 +02:00
2015-02-16 02:56:40 +01:00
2015-03-16 23:24:33 +01:00
2014-08-28 09:38:14 +02:00
2015-01-27 01:36:19 +01:00
2014-08-28 09:38:14 +02:00
2015-03-22 09:31:15 +01:00
2015-03-28 15:08:29 +01:00
2015-04-19 02:43:19 +02:00
2015-04-07 15:47:18 +02:00
2015-04-06 23:21:51 +02:00
2015-04-10 14:03:48 +02:00
2014-08-28 09:38:14 +02:00
2015-03-01 00:16:46 +01:00
2015-03-18 11:42:36 +01:00
2015-04-06 23:21:51 +02:00
2014-09-21 18:39:00 +02:00
2015-03-28 15:07:55 +01:00
2015-02-22 23:23:22 +01:00
2015-04-13 23:49:41 +03:00
2015-02-28 23:35:35 +01:00
2015-03-10 12:32:48 +01:00
2015-02-15 16:20:32 +00:00
2015-02-07 18:11:00 +01:00
2015-01-12 23:04:53 +01:00
2015-03-04 03:30:43 +01:00
2014-08-28 09:38:14 +02:00
2015-01-28 14:58:31 +00:00
2015-01-06 15:26:33 +01:00
2015-03-29 13:16:22 +02:00
2015-03-26 02:12:38 +01:00
2015-04-20 21:06:03 +02:00
2014-08-28 09:38:14 +02:00
2015-03-08 13:08:19 +01:00
2015-02-15 16:20:32 +00:00
2014-08-28 09:38:14 +02:00
2015-03-21 20:38:27 +01:00
2015-04-19 02:42:40 +02:00
2014-10-29 18:57:03 -04:00
2014-08-28 09:38:14 +02:00
2015-04-11 10:01:10 +02:00
2015-04-07 15:47:18 +02:00
2014-08-28 09:38:14 +02:00
2015-04-01 22:32:15 +08:00
2015-04-08 23:30:03 +08:00
2014-08-28 09:38:14 +02:00
2015-04-06 23:21:51 +02:00
2015-04-06 23:21:52 +02:00
2015-03-28 00:15:04 +01:00
2015-04-10 14:03:49 +02:00
2015-03-28 00:15:04 +01:00
2015-04-10 14:03:49 +02:00
2015-02-20 20:01:25 +01:00
2015-04-10 14:40:53 +02:00
2015-03-06 12:20:15 +13:00
2015-04-11 10:01:10 +02:00
2015-01-06 15:26:33 +01:00
2015-03-28 00:15:04 +01:00
2015-03-14 01:26:32 +01:00
2015-04-11 10:01:10 +02:00
2015-04-11 10:01:10 +02:00
2015-04-04 01:19:31 +02:00
2015-04-11 10:01:12 +02:00
2015-04-11 10:01:10 +02:00
2015-02-22 23:23:22 +01:00
2015-04-10 14:03:49 +02:00
2015-01-30 03:04:46 +01:00
2015-01-29 03:08:41 +01:00
2014-08-28 09:38:14 +02:00
2014-08-11 20:38:28 +02:00
2015-03-18 11:42:37 +01:00
2015-04-20 11:36:13 +02:00
2015-02-09 00:08:55 +01:00
2015-03-26 02:12:38 +01:00
2015-03-06 12:20:15 +13:00
2015-04-20 11:36:13 +02:00
2015-04-20 11:36:13 +02:00
2015-04-13 14:57:23 -05:00
2015-04-20 11:36:13 +02:00
2015-01-06 15:26:33 +01:00
2015-01-06 15:26:33 +01:00
2015-03-23 13:10:18 +01:00