diff options
author | Adrian Thurston <thurston@complang.org> | 2014-11-08 17:02:22 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-11-08 17:02:22 -0500 |
commit | a98868e3ab8decb58f15fcaf05301d84a93e5c6d (patch) | |
tree | eec8b1b6089d3a5fb081a53537cab475708d8dee /src/parsetree.h | |
parent | 4ccad87e68cd505b0e2c4ddb41d3840c96ec71c2 (diff) | |
download | colm-a98868e3ab8decb58f15fcaf05301d84a93e5c6d.tar.gz |
removed the inNew hack from TypeRef
Diffstat (limited to 'src/parsetree.h')
-rw-r--r-- | src/parsetree.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/parsetree.h b/src/parsetree.h index d33abab0..1bf278fb 100644 --- a/src/parsetree.h +++ b/src/parsetree.h @@ -375,10 +375,10 @@ struct TokenDef noPostIgnore(false), noPreIgnore(false), isZero(false) {} - static TokenDef *cons( const String &name, const String &literal, bool isLiteral, bool isIgnore, - LexJoin *join, CodeBlock *codeBlock, const InputLoc &semiLoc, - int longestMatchId, Namespace *nspace, RegionSet *regionSet, - ObjectDef *objectDef, Context *contextIn ) + static TokenDef *cons( const String &name, const String &literal, + bool isLiteral, bool isIgnore, LexJoin *join, CodeBlock *codeBlock, + const InputLoc &semiLoc, int longestMatchId, Namespace *nspace, + RegionSet *regionSet, ObjectDef *objectDef, Context *contextIn ) { TokenDef *t = new TokenDef; @@ -1980,8 +1980,7 @@ struct TypeRef uniqueType(0), searchUniqueType(0), generic(0), - searchTypeRef(0), - inNew(false) + searchTypeRef(0) {} /* Qualification and a type name. These require lookup. */ @@ -2159,8 +2158,6 @@ struct TypeRef UniqueType *searchUniqueType; GenericType *generic; TypeRef *searchTypeRef; - - bool inNew; }; typedef DList<ObjectField> ParameterList; |