Add multiline, whitespace-eating strings.
This commit is contained in:
parent
319156c8d1
commit
df9cf0be9b
2 changed files with 18 additions and 0 deletions
|
|
@ -632,6 +632,9 @@ fn next_token(&reader rdr) -> token::token {
|
|||
case ('"') {
|
||||
str::push_byte(accum_str, '"' as u8);
|
||||
}
|
||||
case ('\n') {
|
||||
consume_whitespace(rdr);
|
||||
}
|
||||
|
||||
case ('x') {
|
||||
str::push_char(accum_str,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue