Minor update of grammar for better strings
This commit is contained in:
@ -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 ),
|
||||
|
||||
@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user