- Added keylevels to symbols. This is to help pruning the proofs, for

terms and patterns that do not originate on regular nodes.
This commit is contained in:
ccremers
2004-08-20 19:16:56 +00:00
parent 98bff1e5e2
commit 0fc008fe33
6 changed files with 146 additions and 29 deletions

View File

@@ -20,6 +20,8 @@ struct symbol
int type;
//! Line number at which it occurred.
int lineno;
//! Level of occurrence in role nodes. 0 for as non-key, 1 for key only, 2 for key of key only, etc..
int keylevel;
//! Ascii string with name of the symbol.
const char *text;
//! Possible next pointer.
@@ -41,6 +43,7 @@ Symbol lookup (const char *s);
void symbolPrint (const Symbol s);
void symbolPrintAll (void);
Symbol symbolSysConst (const char *str);
void symbol_fix_keylevels (void);
void eprintf (char *fmt, ...);