Fix some crashes in GN.
GN would read past the end of the file if the last line was a comment that didn't end in a newline. It also would get confused if an end-of-file was reached after an assignment or a unary operator. BUG=478169 Review URL: https://codereview.chromium.org/1275853006 Cr-Commit-Position: refs/heads/master@{#342417}
Showing
Please register or sign in to comment