Ignore:
Timestamp:
07/19/13 08:48:19 (6 years ago)
Author:
gkronber
Message:

#2026 attributes for NT- and T-symbols are optional (incorrectly translated from Coco-2 yesterday)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GPDL/SyntaxAnalyzer/GPDef.atg

    r9724 r9727  
    3333  .
    3434
    35   NonterminalDecl = ident "<<" {ANY} ">>" '.'
     35  NonterminalDecl = ident [ "<<" {ANY} ">>" ] '.'
    3636  .
    3737
    38   TerminalDecl = ident "<<" {ANY} ">>"
     38  TerminalDecl = ident [ "<<" {ANY} ">>" ]
    3939    [ "CONSTRAINTS" ConstraintDef ]
    4040    '.'
     
    4848  .
    4949
    50   RuleDef = ident "<<" {ANY} ">>" '=' [SemDecl] SynExpr '.'
     50  RuleDef = ident [ "<<" {ANY} ">>" ] '=' [SemDecl] SynExpr '.'
    5151  .
    5252
     
    5858
    5959  SynFact =
    60     ident "<<" {ANY} ">>"
     60    ident [ "<<" {ANY} ">>" ]
    6161    | "EPS"
    6262    | '(' SynExpr ')'
Note: See TracChangeset for help on using the changeset viewer.