Files
Nim/compiler
Vindaar 4ab6dd51b0 fix #7997
Fixes issue #7997, which was caused by an export of a `release` proc
in `locks`. Thus the `release` in `defined(release)` of the `ifDebug`
template, was of kind `nkSym` instead of `nkIdent`.

We fix this by getting the `PIdent` of the argument to `defined` using
`considerQuotedIdent`.
This has the nice property of also checking for a valid identifier for
us. E.g. `defined(123)` would fail with
```
Error: in expression 'defined(123)': identifier expected, but found
'123'
```

The `localError` is removed, due to a clear distinction between
`declared` and `defined` now.
2018-06-10 18:01:06 +02:00
..
2018-05-14 17:45:44 +02:00
2018-05-12 11:58:44 +02:00
2018-05-12 11:58:44 +02:00
2018-05-14 17:45:44 +02:00
2018-05-26 20:46:22 +03:00
2017-10-29 08:37:13 +01:00
2018-06-05 20:22:27 -03:00
2018-05-12 21:30:42 +02:00
2018-06-07 17:17:07 +03:00
2018-05-12 23:45:51 +02:00
2018-06-07 07:21:20 +02:00
2018-06-07 17:17:07 +03:00
2018-05-11 18:53:18 +02:00
2018-06-07 19:14:14 +03:00
2017-01-07 22:35:09 +01:00
2018-05-12 09:38:41 +02:00
2018-05-12 09:38:41 +02:00
2018-05-14 17:45:44 +02:00
2017-10-29 08:37:13 +01:00
2018-05-12 09:38:41 +02:00
2018-05-12 11:58:44 +02:00
2018-04-15 23:38:43 +02:00
2018-05-14 17:45:44 +02:00
2018-05-12 09:38:41 +02:00
2017-10-15 20:55:38 +02:00
2018-05-15 10:03:06 +02:00
2018-05-14 17:45:44 +02:00
2018-05-15 01:39:56 +02:00
2018-04-06 13:56:15 +02:00
2018-05-11 15:01:28 +02:00
2018-05-11 13:07:16 +02:00
2018-05-11 13:07:16 +02:00
2018-05-14 21:38:18 +02:00
2018-05-12 11:58:44 +02:00
2018-06-07 17:17:07 +03:00
2018-05-11 18:53:18 +02:00
2014-08-28 09:38:14 +02:00
2018-05-02 08:27:19 +02:00
2018-05-12 19:45:19 +02:00
2018-05-26 20:46:22 +03:00
2018-05-14 17:45:44 +02:00
2018-06-10 18:01:06 +02:00
2018-05-12 19:45:19 +02:00
2018-05-14 21:38:18 +02:00
2018-05-12 11:58:44 +02:00
2018-05-14 17:45:44 +02:00
2018-05-12 21:30:42 +02:00
2018-05-12 11:58:44 +02:00
2018-05-14 21:38:18 +02:00
2018-05-12 16:35:59 +02:00
2018-05-14 21:38:18 +02:00
2018-05-14 21:38:18 +02:00
2018-06-05 09:18:20 +07:00
2018-05-14 17:45:44 +02:00
2015-11-03 14:52:36 +01:00
2018-05-11 15:01:28 +02:00
2018-05-12 11:58:44 +02:00
2018-05-12 09:38:41 +02:00
2018-06-04 13:38:26 +02:00
2018-05-12 09:38:41 +02:00
2018-05-12 11:58:44 +02:00
2018-05-11 13:07:16 +02: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.