summaryrefslogtreecommitdiff
path: root/docs/module/rules.md
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-28 22:09:29 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-29 01:16:25 +0200
commit48e39e44dbe267f8945e9d597e61fd8aa3dfb376 (patch)
treec75e854fadc20d827cd5b422c5ab0f1a45cdf1d2 /docs/module/rules.md
parent7a93787dfe5cdaba3eed98ed8edd19674186430b (diff)
downloadserver-48e39e44dbe267f8945e9d597e61fd8aa3dfb376.tar.gz
Improved fuzzing.
Diffstat (limited to 'docs/module/rules.md')
-rw-r--r--docs/module/rules.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/module/rules.md b/docs/module/rules.md
index ed99188..7f9ae2d 100644
--- a/docs/module/rules.md
+++ b/docs/module/rules.md
@@ -170,6 +170,11 @@ There's also a global scope for the main game data (via the G namespace).
---
+The state stack is implmented as a linked list (G.L is the head of the linked
+list, and G.L.L is the next state down the stack, etc.) Invoking call pushes a
+new state at the top of the stack; goto replaces the current top of the stack,
+and end pops the stack.
+
## States
The "states" where we wait for user input are kept in the S table.