From d8c869cf206f57cc0dbc8ddef426f4b8713d7cbe Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 27 Mar 2021 17:53:12 -0400 Subject: [PATCH] Updated readme. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 324209f..d4b2ee6 100644 --- a/readme.md +++ b/readme.md @@ -82,7 +82,7 @@ All actions and guards are implemented by the user as C language functions with int (struct *, struct _event *); ``` -Transition targets can be default (`-> `) or external (`--> `). Default transitions behave like a [local transition](https://statecharts.github.io/glossary/local-transition.html) when the target state is a descendant of the source state and like an [external transition](https://statecharts.github.io/glossary/local-transition.html) otherwise. External transitions always behave like an external transition, i.e. they always cause the source state to exit. +Transition targets can be default (`-> `) or external (`--> `). Default transitions behave like a [local transition](https://statecharts.github.io/glossary/local-transition.html) (they don't exit the source state) when the target state is a descendant of the source state and like an external transition otherwise. External transitions always cause the source state to exit. ### Hierarchical States