src/parse.c
// Push a variable to the current scope.
Push a variable to the current scope.
Push a variable to the current scope .
Var *push_var(char *name, Var *var) {
    push_var_scope(name)->var = var;
    vec_push(var->is_local ? fn->lvars : prog->gvars, var);
    return var;
}
Var * push_var ( char * name , Var * var ) { push_var_scope ( name ) -> var = var ; vec_push ( var -> is_local ? fn -> lvars : prog -> gvars , var ) ; return var ; }
Push a variable to the current scope.
Push a variable to the current scope .