yronglin wrote:

This can be fixed by remove error recovery in parser.
```cpp
typedef int import;
#define EMP
EMP import m;
```
I update the forward look logic in HandleModuleContextualKeyword, and this 
patch will have the same behavior with trunk.
```cpp
import <=>;
```
This is ill-formed because we trait identifier `import` as kw_import.
```cpp
typedef int import;
extern
import and x;
```



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

Reply via email to