diff options
Diffstat (limited to 'compiler/nimlexbase.nim')
-rw-r--r-- | compiler/nimlexbase.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimlexbase.nim b/compiler/nimlexbase.nim index 214147a2b..e3e8f1dbb 100644 --- a/compiler/nimlexbase.nim +++ b/compiler/nimlexbase.nim @@ -157,7 +157,7 @@ proc getCurrentLine(L: TBaseLexer, marker: bool = true): string = result = "" var i = L.lineStart while not (L.buf[i] in {CR, LF, EndOfFile}): - add(result, L.buf[i]) + result.add(L.buf[i]) inc(i) result.add("\n") if marker: |