summaryrefslogtreecommitdiff
path: root/src/struct.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-05-10 19:13:51 -0400
committerAdrian Thurston <thurston@complang.org>2015-05-10 19:14:14 -0400
commitb05674c0aa0a63ae984fc8f8204bdb09d5e1dd9e (patch)
treef363c8255fae70f28c61d25506129f4858a953e3 /src/struct.c
parent041084f89d3b05c4e9817002fcbe363839336538 (diff)
downloadcolm-b05674c0aa0a63ae984fc8f8204bdb09d5e1dd9e.tar.gz
improved naming, moved generated parser code to subdir gen
Diffstat (limited to 'src/struct.c')
-rw-r--r--src/struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/struct.c b/src/struct.c
index c9a916f2..fbe0784a 100644
--- a/src/struct.c
+++ b/src/struct.c
@@ -76,7 +76,7 @@ void colm_parser_destroy( Program *prg, Tree **sp, struct colm_struct *s )
treeDownref( prg, sp, parser->result );
}
-Parser *colm_parser_new( Program *prg, GenericInfo *gi )
+Parser *colm_parser_new( Program *prg, struct generic_info *gi )
{
struct pda_run *pdaRun = malloc( sizeof(struct pda_run) );
@@ -121,7 +121,7 @@ Map *colm_map_new( struct colm_program *prg )
Struct *colm_construct_generic( Program *prg, long genericId )
{
- GenericInfo *genericInfo = &prg->rtd->genericInfo[genericId];
+ struct generic_info *genericInfo = &prg->rtd->genericInfo[genericId];
Struct *newGeneric = 0;
switch ( genericInfo->type ) {
case GEN_MAP_EL: