Upated return type
This commit is contained in:
parent
a788bdef34
commit
0b7e805961
1 changed files with 3 additions and 3 deletions
|
@ -33,14 +33,14 @@ module Sexpr
|
||||||
|
|
||||||
private def read_value(is_terminator : Regex) : String
|
private def read_value(is_terminator : Regex) : String
|
||||||
value = ""
|
value = ""
|
||||||
while !is_terminator.matches?(strChar = get_char.to_s)
|
while !is_terminator.matches?(str_char = get_char.to_s)
|
||||||
value += strChar
|
value += str_char
|
||||||
end
|
end
|
||||||
|
|
||||||
value
|
value
|
||||||
end
|
end
|
||||||
|
|
||||||
private def un_get_char
|
private def un_get_char : Nil
|
||||||
@i -= 1
|
@i -= 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue