From 07c5287760ca7a80c06dd80defe007ad009695fc Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 31 Aug 2025 12:51:47 -0400 Subject: Add argument aliases so programs can use `func main(verbose|v=no)` to do single-letter argument flags. --- src/ast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index 3fdff98c..bf22c9f6 100644 --- a/src/ast.h +++ b/src/ast.h @@ -65,7 +65,7 @@ typedef struct ast_list_s { } ast_list_t; typedef struct arg_ast_s { - const char *name; + const char *name, *alias; type_ast_t *type; ast_t *value; struct arg_ast_s *next; -- cgit v1.2.3