diff options
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -147,7 +147,7 @@ typedef enum { Extern, StructDef, EnumDef, LangDef, Index, FieldAccess, Optional, NonOptional, - DocTest, + DocTest, Assert, Use, InlineCCode, Deserialize, @@ -322,6 +322,9 @@ struct ast_s { bool skip_source:1; } DocTest; struct { + ast_t *expr, *message; + } Assert; + struct { ast_t *var; const char *path; enum { USE_LOCAL, USE_MODULE, USE_SHARED_OBJECT, USE_HEADER, USE_C_CODE, USE_ASM } what; |
