From 6535bf6175af32e2514faf75d2742424751a783b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Apr 2015 14:10:50 +0200 Subject: New variables architecture Now operator[] is only used for lookup. --- build/context.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/context.cxx') diff --git a/build/context.cxx b/build/context.cxx index d87ce11..958fb98 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -40,8 +40,8 @@ namespace build global_scope = &scopes[dir_path ("/")]; #endif - global_scope->variables["work"] = work; - global_scope->variables["home"] = home; + global_scope->assign ("work") = work; + global_scope->assign ("home") = home; } fs_status -- cgit v1.1