summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2023-05-30 05:17:34 +0000
committerOmar Rizwan <omar@omar.website>2023-05-30 05:17:34 +0000
commit287c744c60e46431a305861a0a7e95b30e4fb36d (patch)
treea46bc704afb3909eb484627a87734b6118936ce4 /lib
parentWIP: Go back to using a fixed-name namespace (diff)
downloadfolk-287c744c60e46431a305861a0a7e95b30e4fb36d.tar.gz
folk-287c744c60e46431a305861a0a7e95b30e4fb36d.zip
etc
Diffstat (limited to 'lib')
-rw-r--r--lib/environment.tcl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/environment.tcl b/lib/environment.tcl
index be4fb29e..2a9870b9 100644
--- a/lib/environment.tcl
+++ b/lib/environment.tcl
@@ -2,8 +2,7 @@ namespace eval ::SerializableEnvironment {}
proc serializeEnvironment {} {
set env [dict create]
- # get all variables and serialize them
- # (to fake lexical scope)
+ # Get all variables and serialize them, to fake lexical scope.
foreach name [info vars ::SerializableEnvironment::*] {
if {![string match "::SerializableEnvironment::__*" $name]} {
dict set env [namespace tail $name] [set $name]