
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
The main problem is to verify that both sides of the
comparison operator (">", "<", "=", "<>", etc) contains
the same type.
I would suggest that trying to do type checking with a CFG is a bad idea. Use semantic actions to do your type checking.
Cheers, Theodore Norvell
| <-- __Chronological__ --> | <-- __Thread__ --> |