rename method to function
[cparser] / ast_t.h
diff --git a/ast_t.h b/ast_t.h
index 5d40c57..3a090c4 100644 (file)
--- a/ast_t.h
+++ b/ast_t.h
@@ -73,7 +73,7 @@ struct call_argument_t {
 
 struct call_expression_t {
        expression_t     expression;
-       expression_t    *method;
+       expression_t    *function;
        call_argument_t *arguments;
 };