aboutsummaryrefslogtreecommitdiffstats
path: root/doc/en.txt
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-10-01 15:18:34 +0300
committerGalin Simeonov <gts@volconst.com>2021-10-01 15:18:34 +0300
commit182bf3f1fd2f506b7783645815c86a0d50474d36 (patch)
tree6db3fd02422ec1cd864b1c1c59e40690533f7d37 /doc/en.txt
parentb2b6003a8feec30490bf77daa2519afec187e438 (diff)
downloadMEGATRON-182bf3f1fd2f506b7783645815c86a0d50474d36.tar.gz
fixed documentation and added an error message for execute statement failHEADmaster
Diffstat (limited to 'doc/en.txt')
-rw-r--r--doc/en.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en.txt b/doc/en.txt
index 95f1f91..68e115a 100644
--- a/doc/en.txt
+++ b/doc/en.txt
@@ -17,8 +17,8 @@ Syntax:
<machine internals> := { <states definition> ";" | <events definition> ";" | <transitions definition> ";" \
| "starting" "on" <id> ";" }
- <states definition> := "states" "[" { <id> [ "on" "entering" <execute statement> ] \
- [ "on" "exiting" <execute statement> ] }+ "]"
+ <states definition> := "states" "[" { <id> [ "[" ( "on" "entering" <execute statement> ";" ] \
+ [ "on" "exiting" <execute statement> ";" ] "]" }+ "]"
<events definition> := "events" "[" { <id> }+ "]"
<transitions definition> := "transitions" "[" { <transition> ";" }+ "]"