]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
filecontext_t -> lex_ctx_t
authorWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 25 Apr 2012 11:20:49 +0000 (13:20 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 25 Apr 2012 15:27:46 +0000 (17:27 +0200)
ast.c

diff --git a/ast.c b/ast.c
index 05fdae1c37badb57c2c19bb3db12f8cd3974a45f..9b43c4d22c2f7b53431c447f9a5eef08cb9ca91c 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -84,7 +84,7 @@ void ast_value_set_name(ast_value *self, const char *name)
     self->name = util_strdup(name);
 }
 
-ast_binary* ast_binary_new(filecontext_t ctx, qc_op_t op,
+ast_binary* ast_binary_new(lex_ctx_t ctx, qc_op_t op,
                            ast_value* left, ast_value* right)
 {
     ast_instantiate(ast_binary, ctx, ast_binary_delete);
@@ -102,7 +102,7 @@ void ast_binary_delete(ast_binary *self)
     mem_d(self);
 }
 
-ast_block* ast_block_new(filecontext_t ctx)
+ast_block* ast_block_new(lex_ctx_t ctx)
 {
     ast_instantiate(ast_block, ctx, ast_block_delete);
     ast_expression_init((ast_expression*)self,
@@ -128,7 +128,7 @@ void ast_block_delete(ast_block *self)
     mem_d(self);
 }
 
-ast_function* ast_function_new(filecontext_t ctx, const char *name, ast_value *vtype)
+ast_function* ast_function_new(lex_ctx_t ctx, const char *name, ast_value *vtype)
 {
     ast_instantiate(ast_function, ctx, ast_function_delete);