1
Vote

Infinite loop in syntax parsing

description

This test data puts the parser in an infinite loop.
 
class A { void M() { void a1; } }
 
The keyword "void" is not legal as the type of a local variable, which is correctly detected, but the parsing doesn't move on but reports the same error infinitely.

comments