anutosh491 wrote:

Hey @vgvassilev  @AaronBallman ,  I finally had time to try  Aaron’s suggestion 
and I think we can just drop `annot_repl_input_end` altogether. We use ordinary 
EOF for each input and preserve value printing through EOF’s existing data 
field.

This looks much cleaner to me since we don’t have to teach every recovery loop 
about another end token. The native Interpreter, Parser, CXX and Preprocessor 
tests pass, including the recovery cases the previous fix missed.

https://github.com/llvm/llvm-project/pull/127569
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to