Lexer::GetBeginningOfToken produced invalid location when
backtracking across escaped new lines.
This fixes PR26228
Differential D30748
[Lexer] Finding beginning of token with escaped new line idlecode on Mar 8 2017, 10:29 AM. Authored by
Details Lexer::GetBeginningOfToken produced invalid location when This fixes PR26228
Diff Detail Event Timeline
Comment Actions No worries, I just stumbled upon the bug and recalled that there had been a patch to fix it. Comment Actions Sorry for the delay, I was on vacation. This looks much better now, thanks! A few more comments though.
Comment Actions Looks good with one nit. Do you need someone to commit the patch for you after you address the comment?
Comment Actions I don't have commit rights yet so I would be grateful for help in this matter :)
|
The way the function is exposed to the test may lead to confusion. I'd either properly declare it in the header (and place it in a namespace, if it is not yet) or at least leave a comment here that the function is not static, since it needs to be exposed to the test.