diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-06-16 15:13:48 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-06-16 15:13:48 -0400 |
| commit | 7dcb5bea3f32f7f122aea323995fe1da55cb8316 (patch) | |
| tree | d58449b57ad3f5f933e9e52531365de2cd11c4bb | |
| parent | 7a53e10826e583b4fc00d032eeecada2cf19e9e2 (diff) | |
Support top-level imports
| -rw-r--r-- | parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1672,6 +1672,7 @@ PARSER(parse_file_body) { ||(stmt=optional(ctx, &pos, parse_lang_def)) ||(stmt=optional(ctx, &pos, parse_func_def)) ||(stmt=optional(ctx, &pos, parse_use)) + ||(stmt=optional(ctx, &pos, parse_import)) ||(stmt=optional(ctx, &pos, parse_linker)) ||(stmt=optional(ctx, &pos, parse_extern)) ||(stmt=optional(ctx, &pos, parse_inline_c)) |
