Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: LOOKAHEAD issue, any possible better rewrite???



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__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.