aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-12 01:35:30 +0200
committerEugen Wissner <belka@caraus.de>2026-09-12 01:35:30 +0200
commite72e20e025ab14320c79c2dca75721a0a5e002bd (patch)
tree3b2d0d90f38c80442ee518e000b4026e753c66c9 /include
parent2d3ba9b352478e5a3d3add482f56f1c801965428 (diff)
downloadelna-e72e20e025ab14320c79c2dca75721a0a5e002bd.tar.gz
Allow random text after ending the module
Diffstat (limited to 'include')
-rw-r--r--include/elna/boot/driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/elna/boot/driver.h b/include/elna/boot/driver.h
index 45e2e40..e918954 100644
--- a/include/elna/boot/driver.h
+++ b/include/elna/boot/driver.h
@@ -39,6 +39,9 @@ namespace elna::boot
{
public:
std::unique_ptr<unit> tree;
+ /// Set once the module terminator has been parsed. The lexer stops
+ /// scanning then, so whatever follows is not program text.
+ bool finished{ false };
driver() = default;
};