-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
This import (from https://c3-lang.org/language-fundamentals/modules/) won't be parsed correctly:
import lib1 @norecurse, lib2;Looking at the grammar, I think the optional attributes should be within the "path" fields:
Lines 426 to 431 in 6b4e912
| import_declaration: $ => seq( | |
| 'import', | |
| field('path', commaSep1($.path_ident)), | |
| optional($.attributes), | |
| ';' | |
| ), |
Metadata
Metadata
Assignees
Labels
No labels