Files
Nim/compiler
Adam Strzelecki 07b13251d1 Parser: Fix location (line, col) for diagnostics
Previously parser was using lexMessage which was taking location from current
buffer position which was pointing after recently consumed token. But since
parser shows diagnostics about that token it should point to the location where
token starts.

This makes diagnostics like: `test.nim(2, 2) Error: ':' expected` point
properly at the beginning of the wrong token.
2015-04-21 11:32:13 +02:00
..
2015-04-20 21:25:49 +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-04-07 15:47:18 +02:00
2015-04-07 15:47: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-04-07 15:47:18 +02: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-04-20 22:53:46 +02:00
2015-04-07 15:47:18 +02:00
2014-08-28 09:38:14 +02:00
2014-09-21 18:39:00 +02:00
2015-03-10 12:32:48 +01:00
2015-02-15 16:20:32 +00:00
2015-01-12 23:04:53 +01:00
2014-08-28 09:38:14 +02:00
2015-01-06 15:26:33 +01:00
2015-03-26 02:12:38 +01:00
2014-08-28 09:38:14 +02:00
2015-02-15 16:20:32 +00:00
2014-08-28 09:38:14 +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
2014-08-28 09:38:14 +02:00
2015-04-06 23:21:52 +02:00
2015-02-20 20:01:25 +01:00
2015-04-10 14:40:53 +02:00
2015-04-11 10:01:10 +02:00
2015-01-06 15:26:33 +01:00
2015-04-11 10:01:10 +02:00
2015-04-11 10:01:10 +02:00
2015-01-30 03:04:46 +01:00
2014-08-28 09:38:14 +02:00
2015-04-20 11:36:13 +02:00
2015-04-21 08:17:40 +02:00
2015-04-20 11:36:13 +02:00
2015-04-20 11:36:13 +02: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

This directory contains the Nim compiler written in Nim. Note that this
code has been translated from a bootstrapping version written in Pascal, so
the code is **not** a poster child of good Nim code.