Removed #! handling (was deprecated long enought)

This commit is contained in:
Hans Raaf
2016-02-26 18:02:15 +01:00
parent 9d0c79ff1e
commit 10dce8131e

View File

@@ -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