[Prev][Next][Index]
Removing C++ keywords from parsing tables
- Subject: Removing C++ keywords from parsing tables
- From: Diego Novillo <diego@cs.ualberta.ca>
- To: sage-bugs@extreme.indiana.edu (Sage Bug Reports)
- Date: Mon, 8 May 1995 12:03:06 -0600 (MDT)
- Sender: owner-sage-bugs@extreme.indiana.edu
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