[Prev][Next][Index]

Removing C++ keywords from parsing tables




We are using pC++2dep to parse C files and on the RS6000s we have
problems with /usr/include/math.h - In that file a function called
'class()' is defined and pC++2dep reports a syntax error.

We tried to remove the keyword from the parser. I edited pC++2dep/vlex.c
but I must have broke something because we're getting different errors
now. Is there a way to remove keywords from the lexical tables safely?

Thanks. Diego.


-- 
Diego Novillo (diego@cs.ualberta.ca)    |      Dept of Computing Science
WWW http://web.cs.ualberta.ca/~diego    |          University of Alberta
Use 'finger' to get my PGP public key   |     Edmonton, Alberta - Canada