prepare Nim codebase for upcoming parser changes
This commit is contained in:
parent
3e72c98d49
commit
0834cd63d9
26 changed files with 46 additions and 46 deletions
|
|
@ -1122,7 +1122,7 @@ proc parseCmdLine*(c: string): seq[string] {.
|
|||
while true:
|
||||
setLen(a, 0)
|
||||
# eat all delimiting whitespace
|
||||
while c[i] == ' ' or c[i] == '\t' or c [i] == '\l' or c [i] == '\r' : inc(i)
|
||||
while c[i] == ' ' or c[i] == '\t' or c[i] == '\l' or c[i] == '\r' : inc(i)
|
||||
when defined(windows):
|
||||
# parse a single argument according to the above rules:
|
||||
if c[i] == '\0': break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue