Skip to content

Commit

Permalink
change the grammar for the title
Browse files Browse the repository at this point in the history
have a title keyword before it
  • Loading branch information
pahjbo committed May 30, 2024
1 parent f1cbfaa commit 9a5fe5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net.ivoa.vodsl/src/net/ivoa/vodsl/Vodsl.xtext
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ VoDataModel:


ModelDeclaration:
'model' name=ID '(' version=VERSION ')' titular=STRING description=STRING?
'model' name=ID '(' version=VERSION ')' ('title' titular=STRING )? description=STRING
('author' authors+=STRING)*
;

Expand Down Expand Up @@ -122,7 +122,7 @@ ObjectType:
*/
Attribute :
name=ID ':' type=[DefinitionType|QualifiedName] (multiplicity=Multiplicity )?
(key=NaturalKey)? description=STRING ('UCD' ucd=STRING)? ((semanticConcept=SemanticConcept)? &
(key=NaturalKey)? description=STRING ( ('UCD' ucd=STRING)? & (semanticConcept=SemanticConcept)? &
( constraints += Constraint )*
)';'
;
Expand Down

0 comments on commit 9a5fe5f

Please sign in to comment.