diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-04-21 08:13:37 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-04-21 08:13:37 +0200 |
commit | 33b69f0ed0272a4792322d9a0fbaffd5bef2f6e9 (patch) | |
tree | f7d38c41d242024ea644cd855fa9b71eee7e8bd2 /compiler/parser.nim | |
parent | 6667362c2f1cd0fc1fdb1dacb486528b928470d5 (diff) | |
download | Nim-33b69f0ed0272a4792322d9a0fbaffd5bef2f6e9.tar.gz |
refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654
Diffstat (limited to 'compiler/parser.nim')
-rw-r--r-- | compiler/parser.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser.nim b/compiler/parser.nim index 3bf75c6f7..ac0a57770 100644 --- a/compiler/parser.nim +++ b/compiler/parser.nim @@ -83,7 +83,7 @@ proc getTok(p: var TParser) = rawGetTok(p.lex, p.tok) p.hasProgress = true -proc openParser*(p: var TParser, fileIdx: int32, inputStream: PLLStream, +proc openParser*(p: var TParser, fileIdx: FileIndex, inputStream: PLLStream, cache: IdentCache; strongSpaces=false) = ## Open a parser, using the given arguments to set up its internal state. |