diff options
author | Adrian Thurston <thurston@complang.org> | 2014-12-14 15:43:42 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-12-14 15:43:42 -0500 |
commit | c158d3cb4772a37b1ebb6e77d92341658b76ff44 (patch) | |
tree | 565895e63636421e64ce09be259e44c8ab0a4752 /src/parser.h | |
parent | b4c15bb4bd7e4f84d449987987f38c7c17d68697 (diff) | |
download | colm-c158d3cb4772a37b1ebb6e77d92341658b76ff44.tar.gz |
added struct, struct field and corresponding instructions
Can new and set/get the fields of a struct. Still using underlying tree object
to implement.
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h index bd93b84d..088f7bc5 100644 --- a/src/parser.h +++ b/src/parser.h @@ -115,7 +115,7 @@ struct BaseParser LangExpr *require( const InputLoc &loc, LangVarRef *varRef, PatternItemList *list ); void contextVarDef( const InputLoc &loc, ObjectField *objField ); - void contextHead( const InputLoc &loc, const String &data ); + void contextHead( const InputLoc &loc, const String &data, ObjectDef::Type objectType ); StmtList *appendStatement( StmtList *stmtList, LangStmt *stmt ); ParameterList *appendParam( ParameterList *paramList, ObjectField *objField ); ObjectField *addParam( const InputLoc &loc, |