Support newlines. Looks like we pasted the input from the browser window during the pairing session.
This commit is contained in:
parent
03e6248c14
commit
b28899fe37
|
@ -15,7 +15,9 @@ fn main -> _/ebx: int {
|
||||||
break-if-=
|
break-if-=
|
||||||
|
|
||||||
var next_digit/eax: int <- read_digit input_stream_addr
|
var next_digit/eax: int <- read_digit input_stream_addr
|
||||||
var next_digit/eax: int <- copy next_digit
|
# hacky newline check
|
||||||
|
compare next_digit, 0
|
||||||
|
break-if-<
|
||||||
|
|
||||||
{
|
{
|
||||||
compare this_digit, next_digit
|
compare this_digit, next_digit
|
||||||
|
|
Loading…
Reference in New Issue