diff options
author | Araq <rumpf_a@web.de> | 2015-11-18 11:18:56 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-11-18 12:33:09 +0100 |
commit | edb495a6b36cd3a943a00a00652bf7a71b831e6f (patch) | |
tree | 08cc2694a969797cdb16c8813c89008f4f186100 /compiler/lexer.nim | |
parent | 0f7fdd8bf4d4f747f01c4d95ce64d96763286afc (diff) | |
download | Nim-edb495a6b36cd3a943a00a00652bf7a71b831e6f.tar.gz |
fixes a critical error handling bug for nimsuggest
Diffstat (limited to 'compiler/lexer.nim')
-rw-r--r-- | compiler/lexer.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/lexer.nim b/compiler/lexer.nim index cea42ad1e..9a69ede3e 100644 --- a/compiler/lexer.nim +++ b/compiler/lexer.nim @@ -662,6 +662,7 @@ proc getString(L: var TLexer, tok: var TToken, rawMode: bool) = L.lineNumber = line lexMessagePos(L, errClosingTripleQuoteExpected, L.lineStart) L.lineNumber = line2 + L.bufpos = pos break else: add(tok.literal, buf[pos]) |