diff --git a/grammar.js b/grammar.js index 75ea107..eaf6119 100644 --- a/grammar.js +++ b/grammar.js @@ -35,9 +35,9 @@ module.exports = grammar({ sum_expr: $ => prec.left(1, seq( $.scalar_expr, choice('+','-'), $.scalar_expr )), coordinate_expr: $ => seq( $.scalar_expr, '|', $.scalar_expr, '|', $.scalar_expr ), - prototypes: $ => seq( 'Prototypes:', repeat($.prototype)), + prototypes: $ => seq( 'Prototypes', ':', repeat($.prototype)), prototype: $ => seq( $.identifier, ':', $.function_application), - resources: $ => seq( 'Resources:', repeat($.resource)), + resources: $ => seq( 'Resources', ':', repeat($.resource)), resource: $ => seq( $.identifier, ':', $.function_application), literal: $ => choice ( $.numeric_literal, $.unit_literal, $.string_literal ), diff --git a/package.json b/package.json index 365aaa5..f743377 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "openscenarionext-grammar", - "version": "0.1.0", + "version": "0.1.1", "description": "OpenScenarioNext Prototype Grammar", "repository": { - "type" : "git", - "url" : "https://apps.pmsf.net/stash/scm/osn/osn-grammar.git" + "type": "git", + "url": "https://apps.pmsf.net/stash/scm/osn/osn-grammar.git" }, "main": "index.js", "config": {