aboutsummaryrefslogtreecommitdiff
path: root/boot/lexer.ll
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-13 23:33:14 +0200
committerEugen Wissner <belka@caraus.de>2026-09-13 23:33:14 +0200
commit8cc075c6a736fdde56ca2da03a868821695765f4 (patch)
tree2dd14d3bc47e5bf00e612a0d792f5e33f2c7a81b /boot/lexer.ll
parent38a24d57067b657cde572f92210c5719091c88ff (diff)
downloadelna-8cc075c6a736fdde56ca2da03a868821695765f4.tar.gz
Add threadvar section for thread-local variables
Diffstat (limited to 'boot/lexer.ll')
-rw-r--r--boot/lexer.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/lexer.ll b/boot/lexer.ll
index 89eb4ed..1cccd35 100644
--- a/boot/lexer.ll
+++ b/boot/lexer.ll
@@ -134,6 +134,9 @@ const {
var {
return yy::parser::make_VAR(this->location);
}
+threadvar {
+ return yy::parser::make_THREADVAR(this->location);
+}
type {
return yy::parser::make_TYPE(this->location);
}