From a90ea7d6eb03019b38ebd7a2ed0902f83e1fa736 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Mon, 23 Jul 2012 09:13:01 -0400 Subject: renamed Defintion to Production and added a static constructor --- src/pdagraph.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/pdagraph.h') 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 TransClosureQueue; -typedef BstSet< Definition*, CmpOrd > DefSet; -typedef CmpTable< Definition*, CmpOrd > CmpDefSet; +typedef BstSet< Production*, CmpOrd > DefSet; +typedef CmpTable< Production*, CmpOrd > CmpDefSet; typedef BstSet< DefSet, CmpDefSet > DefSetSet; -typedef Vector< Definition* > DefVect; +typedef Vector< Production* > DefVect; typedef BstSet< long, CmpOrd > AlphSet; struct ExpandToEl -- cgit v1.2.1