We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec3574 commit 557f8f5Copy full SHA for 557f8f5
grammar.js
@@ -326,7 +326,7 @@ module.exports = grammar(C, {
326
327
module_name: $ => seq(
328
$.identifier,
329
- repeat(seq('.', $.identifier)
+ repeat(seq('.', $.identifier),
330
),
331
332
@@ -341,20 +341,20 @@ module.exports = grammar(C, {
341
field('name', $.module_name),
342
field('partition', optional($.module_partition)),
343
optional($.attribute_declaration),
344
- ';'
+ ';',
345
346
347
export_declaration: $ => seq(
348
'export',
349
- choice($._block_item, seq('{', repeat($._block_item), '}'))
+ choice($._block_item, seq('{', repeat($._block_item), '}')),
350
351
352
import_declaration: $ => seq(
353
optional('export'),
354
'import',
355
choice(
356
- field("name", $.module_name),
357
- field("partition", $.module_partition),
+ field('name', $.module_name),
+ field('partition', $.module_partition),
358
field('header', choice(
359
$.string_literal,
360
$.system_lib_string,
0 commit comments