Mercurial > ~dholland > hg > ag > index.cgi
diff anagram/agcore/cd.h @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 (2007-12-22) |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/anagram/agcore/cd.h Sat Dec 22 17:52:45 2007 -0500 @@ -0,0 +1,31 @@ +/* + * AnaGram, A System for Syntax Directed Programming + * Copyright 1993-1999 Parsifal Software. All Rights Reserved. + * See the file COPYING for license and usage terms. + * + * cd.h - Conflict Derivation module + */ + +#ifndef CD_H +#define CD_H + +class Token; // from token.h +struct tsd; // from tsd.h +struct tuple_dict; // from dict.h + + +extern int conflict_token; +extern tsd *token_derivation; + +extern char *tried; + +int find_gotos(int, const unsigned **); +int new_next_state(int state_number, unsigned token_number); +Token transitionToken(unsigned fromState, unsigned toState); +int x2d(int, int); +int x3(tsd *isl, int sx, int fn, int fx); +int x3a(tsd *isl, int sx, int fn, int fx); +int x9x(int); +tuple_dict *xis(unsigned sn); + +#endif /* CD_H */