From d28e80274828540a3278ef20c3250afb576773d4 Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Fri, 29 Oct 2021 01:35:54 +0900 Subject: v0.5.0 --- src/ast.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index 0acc5bb..8bd667a 100644 --- a/src/ast.h +++ b/src/ast.h @@ -13,8 +13,8 @@ typedef enum { // annotation AST_ANNOTATION_L, AST_ANNOTATION_R, - // builtin tuble - AST_TUPLE, + // builtin tuple + AST_TUPLE, AST_PPAIR, // operation AST_INT, AST_LD, AST_PLUS, AST_SUB, AST_MUL, AST_DIV, AST_MOD, @@ -50,7 +50,7 @@ void puts_ast(Ast *p); Ast *ast_paramToCons(Ast *ast); void ast_recordConst(char *name, int val); Ast *ast_remove_tuple1(Ast *p); - +Ast *ast_unfoldABR(Ast *left, char *sym, Ast *paramlist); #define ast_makeCons(x1,x2) ast_makeAST(AST_LIST,x1,x2) #define ast_makeList1(x1) ast_makeAST(AST_LIST,x1,NULL) -- cgit v1.2.3