update corehelpers to use new istream function names
This commit is contained in:
parent
ca93ea00d4
commit
253ab538ca
|
@ -38,9 +38,9 @@ function CoreHelpers.isWhitespace(chr: string): boolean
|
|||
chr == "\f")
|
||||
end
|
||||
function CoreHelpers.skipWhitespace(state: Environment)
|
||||
local chr = state.activeInputStream:peek()
|
||||
local chr = state.activeInputStream:curr()
|
||||
while (CoreHelpers.isWhitespace(chr)) do
|
||||
chr = state.activeInputStream:advance()
|
||||
chr = state.activeInputStream:next()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue