diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-29 09:07:24 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-29 09:07:24 +0200 |
commit | 688c54d8f158ff977161a234374b1cd321ba95f3 (patch) | |
tree | e55216bb241ac468dc79cd761fbe9b1e93a37934 /compiler/main.nim | |
parent | a5701d6b71853e683f4d655b6b5ea4a13bec993b (diff) | |
download | Nim-688c54d8f158ff977161a234374b1cd321ba95f3.tar.gz |
compiler API: final cleanups; improve security by diabling 'gorge' and friends
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index c5b2ddca5..ba2537ef8 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -9,6 +9,9 @@ # implements the command dispatcher and several commands +when not defined(nimcore): + {.error: "nimcore MUST be defined for Nim's core tooling".} + import llstream, strutils, ast, astalgo, lexer, syntaxes, renderer, options, msgs, os, condsyms, rodread, rodwrite, times, |