f375391cb6
Patch to error and fail instead of using all available memory then crashing to detect the error condition of an unmatched double quote before the end of a file. I couldn't get it to show nice error messages, so this may not be the ideal fix. A test case for this situation has also been added.
9 lines
90 B
Rust
9 lines
90 B
Rust
// -*- rust -*-
|
|
|
|
// error-pattern: unterminated double quote string
|
|
|
|
|
|
fn main() {
|
|
"
|
|
}
|