summaryrefslogtreecommitdiff
path: root/src/pdagraph.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-07-23 09:13:01 -0400
committerAdrian Thurston <thurston@complang.org>2012-07-23 09:13:01 -0400
commita90ea7d6eb03019b38ebd7a2ed0902f83e1fa736 (patch)
treeeae0300e9faba75bab01115afe810f59ddeb5ff4 /src/pdagraph.h
parente17612e7f67d4e44f6889d36f21021303154fb3a (diff)
downloadcolm-a90ea7d6eb03019b38ebd7a2ed0902f83e1fa736.tar.gz
renamed Defintion to Production and added a static constructor
Diffstat (limited to 'src/pdagraph.h')
-rw-r--r--src/pdagraph.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pdagraph.h b/src/pdagraph.h
index dc11b3e1..742fb047 100644
--- a/src/pdagraph.h
+++ b/src/pdagraph.h
@@ -48,7 +48,7 @@ struct PdaTrans;
struct PdaState;
struct PdaGraph;
struct TokenDef;
-struct Definition;
+struct Production;
struct LangEl;
struct TokenRegion;
@@ -101,11 +101,11 @@ struct ClosureQueueListEl { PdaState *prev, *next; };
typedef DListMel< PdaState, ClosureQueueListEl > StateClosureQueue;
typedef DList<PdaTrans> TransClosureQueue;
-typedef BstSet< Definition*, CmpOrd<Definition*> > DefSet;
-typedef CmpTable< Definition*, CmpOrd<Definition*> > CmpDefSet;
+typedef BstSet< Production*, CmpOrd<Production*> > DefSet;
+typedef CmpTable< Production*, CmpOrd<Production*> > CmpDefSet;
typedef BstSet< DefSet, CmpDefSet > DefSetSet;
-typedef Vector< Definition* > DefVect;
+typedef Vector< Production* > DefVect;
typedef BstSet< long, CmpOrd<long> > AlphSet;
struct ExpandToEl