Hi,
im trying to debug this grammar which is correct while checking but im getting
in the output box:"line1:51 not viable alternative at character ' ':
grammar marte;
riState :stdianame '.' 'addOpaqueBehavior''(' ELEMNAME ')' //ajout d'un
Opaque Behavior au State Machine
|stdianame '::' ELEMNAME '.' 'stereotyped''(' ster ')'
;
ster :'TimedProcessing'ster_attr
|'TimedDomain'
|'clockType'
;
ster_attr:ACCOO
DURATION'='INT(','START'='ELEMNAME)?(','FINISH'='ELEMNAME)?(','ON'='ELEMNAME)?
ACCOC
;
stdianame: 'ST_'ELEMNAME
;
ACCOO : '{';
ACCOC : '}';
DURATION: 'duration';
START : 'start';
FINISH : 'finish';
ON : 'on' ;
ELEMNAME : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_')*
;
INT : '0'..'9'+
;
Rebeka
Cordialement,
Refka Fouzai
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.