Moritz Beutel <Moritz Beutel schrieb:
> Hans-Peter Diettrich wrote: > >> C++ may require more lookahead. > > infinite lookahead, AFAIK.
Infinite lookahead is not a solution for ambiguous grammars. IMO it's perfectly valid if a compiler asks the user to disambiguate the source code himself, instead of guessing what could have been meant.
DoDi