summary refs log tree commit diff stats
path: root/compiler/syntaxes.nim
diff options
context:
space:
mode:
authorHans Raaf <hara@oderwat.de>2016-02-26 18:02:15 +0100
committerHans Raaf <hara@oderwat.de>2016-02-26 18:02:15 +0100
commit10dce8131ecdecfc0dd71522bf62259ef7f2f2b0 (patch)
tree6aa36000dec3df651bc69698907cb49757338e17 /compiler/syntaxes.nim
parent9d0c79ff1e55f49f59c4ec403689b8bb714da3ed (diff)
downloadNim-10dce8131ecdecfc0dd71522bf62259ef7f2f2b0.tar.gz
Removed `#!` handling (was deprecated long enought)
Diffstat (limited to 'compiler/syntaxes.nim')
-rw-r--r--compiler/syntaxes.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/syntaxes.nim b/compiler/syntaxes.nim
index 021910544..37ea6e2db 100644
--- a/compiler/syntaxes.nim
+++ b/compiler/syntaxes.nim
@@ -97,10 +97,7 @@ proc parsePipe(filename: string, inputStream: PLLStream): PNode =
       discard llStreamReadLine(s, line)
       i = 0
       inc linenumber
-    if line[i] == '#' and line[i+1] in {'?', '!'}:
-      if line[i+1] == '!':
-        message(newLineInfo(filename, linenumber, 1),
-                warnDeprecated, "use '#?' instead; '#!'")
+    if line[i] == '#' and line[i+1] == '?':
       inc(i, 2)
       while line[i] in Whitespace: inc(i)
       var q: TParser