Changed grammar for states

This commit is contained in:
Johan Maasing 2025-04-22 20:28:17 +02:00
parent bc458299dc
commit c1c062b6cf
3 changed files with 13 additions and 13 deletions

View file

@ -15,7 +15,7 @@ grammar States;
import Common;
document : generatorconfig? transition (',' transition)* ;
transition : from RIGHT_ARROW to COLON message ;
transition : from RIGHT_ARROW message RIGHT_ARROW to ;
from : state ;
to : state ;
message : typeName typeDeclaration? ;