diff options
author | Miran <narimiran@disroot.org> | 2019-06-26 23:09:57 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-06-26 23:09:57 +0200 |
commit | f65eaa51f15707393e33f6666af8b0b8f57a0f33 (patch) | |
tree | c443488b37fb4994b437d1be43a1852320b892ed | |
parent | e083a1533b40ed768b2085852b714ea8e5564f4f (diff) | |
download | Nim-f65eaa51f15707393e33f6666af8b0b8f57a0f33.tar.gz |
[bugfix] fix #11532, nimpretty should ignore source code filters (#11603)
-rw-r--r-- | compiler/syntaxes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/syntaxes.nim b/compiler/syntaxes.nim index 598a9bdc3..3e4f65c0b 100644 --- a/compiler/syntaxes.nim +++ b/compiler/syntaxes.nim @@ -72,7 +72,7 @@ proc parsePipe(filename: AbsoluteFile, inputStream: PLLStream; cache: IdentCache i = 0 inc linenumber if i+1 < line.len and line[i] == '#' and line[i+1] == '?': - when defined(nimpretty2): + when defined(nimpretty): # XXX this is a bit hacky, but oh well... quit "can't nimpretty a source code filter" else: |