• brettw's avatar
    Fix some crashes in GN. · 693c6056
    brettw authored
    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}
    693c6056
parser.cc 27 KB