Alpha Chen 2 years ago
parent 2f35505957
commit 277d64c85c
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -144,6 +144,7 @@ impl<'a> Scanner<'a> {
}
if self.peek().is_none() {
// Maybe this should return an Err?
return self.error_token("Unterminated string.");
}

Loading…
Cancel
Save