diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-01 10:20:04 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-01 10:20:04 -0500 |
commit | e252df25d86bb17d73bcbacbf1208a6223093ec1 (patch) | |
tree | e58df41ca83f044e7beb636396ccca080ad95948 /types.h | |
parent | 0f26f41c326f4dab86cdd1791e08d03d624eeb99 (diff) |
improved vbs (now its done during typing instead of parsing)
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -650,14 +650,13 @@ enum { RET_HAS_EXPR = 0x01, }; typedef struct Return { - uint16_t flags; + U16 flags; Expression expr; } Return; enum { - STMT_VOIDED_EXPR = 0x01, /* the "4;" in fn () { 4; } is a voided expression, but the "4" in fn () int { 4 } is not */ + STMT_EXPR_NO_SEMICOLON = 0x01, }; - typedef struct Statement { Location where; StatementKind kind; |