diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 12:51:47 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-31 12:51:47 -0400 |
| commit | 07c5287760ca7a80c06dd80defe007ad009695fc (patch) | |
| tree | da8145974f100c7c8f96fbf73170d9991a1f75cf /src/ast.h | |
| parent | c3bcb504a07823ec8a096d34d0f4fe8dc5b27196 (diff) | |
Add argument aliases so programs can use `func main(verbose|v=no)` to do
single-letter argument flags.
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
