Mercurial > ~dholland > hg > ag > index.cgi
comparison 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 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 /* | |
2 * AnaGram, A System for Syntax Directed Programming | |
3 * Copyright 1993-1999 Parsifal Software. All Rights Reserved. | |
4 * See the file COPYING for license and usage terms. | |
5 * | |
6 * cd.h - Conflict Derivation module | |
7 */ | |
8 | |
9 #ifndef CD_H | |
10 #define CD_H | |
11 | |
12 class Token; // from token.h | |
13 struct tsd; // from tsd.h | |
14 struct tuple_dict; // from dict.h | |
15 | |
16 | |
17 extern int conflict_token; | |
18 extern tsd *token_derivation; | |
19 | |
20 extern char *tried; | |
21 | |
22 int find_gotos(int, const unsigned **); | |
23 int new_next_state(int state_number, unsigned token_number); | |
24 Token transitionToken(unsigned fromState, unsigned toState); | |
25 int x2d(int, int); | |
26 int x3(tsd *isl, int sx, int fn, int fx); | |
27 int x3a(tsd *isl, int sx, int fn, int fx); | |
28 int x9x(int); | |
29 tuple_dict *xis(unsigned sn); | |
30 | |
31 #endif /* CD_H */ |