aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Aparício <aparicio99@gmail.com>2012-05-28 03:17:41 +0100
committerAndré Aparício <aparicio99@gmail.com>2012-07-03 02:16:19 +0100
commitddfcd534ecd1d7415041b431006e087c717dea4c (patch)
tree9f1bf95e72d8cf9bac131b54d98de96c439da8a2 /src/cppbash_builtin.cpp
parentBuiltin: implement read builtin (diff)
downloadlibbash-ddfcd534ecd1d7415041b431006e087c717dea4c.tar.gz
libbash-ddfcd534ecd1d7415041b431006e087c717dea4c.tar.bz2
libbash-ddfcd534ecd1d7415041b431006e087c717dea4c.zip
Builtin: Implement set builtin
Diffstat (limited to 'src/cppbash_builtin.cpp')
-rw-r--r--src/cppbash_builtin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cppbash_builtin.cpp b/src/cppbash_builtin.cpp
index c93b94a..e4a7c29 100644
--- a/src/cppbash_builtin.cpp
+++ b/src/cppbash_builtin.cpp
@@ -45,6 +45,7 @@
#include "builtins/source_builtin.h"
#include "builtins/unset_builtin.h"
#include "builtins/read_builtin.h"
+#include "builtins/set_builtin.h"
namespace qi = boost::spirit::qi;
namespace karma = boost::spirit::karma;
@@ -75,6 +76,7 @@ cppbash_builtin::builtins_type& cppbash_builtin::builtins() {
{"let", boost::factory<let_builtin*>()},
{"unset", boost::factory<unset_builtin*>()},
{"read", boost::factory<read_builtin*>()},
+ {"set", boost::factory<set_builtin*>()},
});
return *p;
}