aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-08-03 15:56:10 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-08-03 16:58:17 +0800
commit248faf7d8ad085e237973aa4a4145793cfc3345e (patch)
tree7ba1a478541ef20e0972051c9dd4bfc470ed8a68 /src/builtins
parentParser: improve the rule for regular expression (diff)
downloadlibbash-248faf7d8ad085e237973aa4a4145793cfc3345e.tar.gz
libbash-248faf7d8ad085e237973aa4a4145793cfc3345e.tar.bz2
libbash-248faf7d8ad085e237973aa4a4145793cfc3345e.zip
Build: install public headers
We need to put all public headers into the include directory.
Diffstat (limited to 'src/builtins')
-rw-r--r--src/builtins/break_builtin.cpp2
-rw-r--r--src/builtins/builtin_exceptions.h2
-rw-r--r--src/builtins/continue_builtin.cpp2
-rw-r--r--src/builtins/declare_builtin.cpp2
-rw-r--r--src/builtins/shift_builtin.cpp2
-rw-r--r--src/builtins/shopt_builtin.cpp2
-rw-r--r--src/builtins/source_builtin.cpp2
-rw-r--r--src/builtins/tests/declare_tests.cpp2
-rw-r--r--src/builtins/tests/shift_tests.cpp2
-rw-r--r--src/builtins/tests/shopt_tests.cpp2
10 files changed, 10 insertions, 10 deletions
diff --git a/src/builtins/break_builtin.cpp b/src/builtins/break_builtin.cpp
index 0ee20a7..b781e27 100644
--- a/src/builtins/break_builtin.cpp
+++ b/src/builtins/break_builtin.cpp
@@ -25,7 +25,7 @@
#include <boost/lexical_cast.hpp>
#include "builtins/builtin_exceptions.h"
-#include "core/interpreter_exception.h"
+#include "exceptions.h"
int break_builtin::exec(const std::vector<std::string>& bash_args)
{
diff --git a/src/builtins/builtin_exceptions.h b/src/builtins/builtin_exceptions.h
index e1a443a..89a8cc8 100644
--- a/src/builtins/builtin_exceptions.h
+++ b/src/builtins/builtin_exceptions.h
@@ -26,7 +26,7 @@
#include <stdexcept>
-#include "core/exceptions.h"
+#include "exceptions.h"
///
/// \class return_exception
diff --git a/src/builtins/continue_builtin.cpp b/src/builtins/continue_builtin.cpp
index 9bb9469..e27b031 100644
--- a/src/builtins/continue_builtin.cpp
+++ b/src/builtins/continue_builtin.cpp
@@ -25,7 +25,7 @@
#include <boost/lexical_cast.hpp>
#include "builtins/builtin_exceptions.h"
-#include "core/exceptions.h"
+#include "exceptions.h"
int continue_builtin::exec(const std::vector<std::string>& bash_args)
{
diff --git a/src/builtins/declare_builtin.cpp b/src/builtins/declare_builtin.cpp
index 2644bb7..1c85d61 100644
--- a/src/builtins/declare_builtin.cpp
+++ b/src/builtins/declare_builtin.cpp
@@ -25,8 +25,8 @@
#include <algorithm>
#include <iostream>
-#include "core/exceptions.h"
#include "core/interpreter.h"
+#include "exceptions.h"
int declare_builtin::exec(const std::vector<std::string>& bash_args)
{
diff --git a/src/builtins/shift_builtin.cpp b/src/builtins/shift_builtin.cpp
index c78c6ae..e36a5e6 100644
--- a/src/builtins/shift_builtin.cpp
+++ b/src/builtins/shift_builtin.cpp
@@ -25,8 +25,8 @@
#include <boost/lexical_cast.hpp>
#include "builtins/builtin_exceptions.h"
-#include "core/exceptions.h"
#include "core/interpreter.h"
+#include "exceptions.h"
int shift_builtin::exec(const std::vector<std::string>& bash_args)
{
diff --git a/src/builtins/shopt_builtin.cpp b/src/builtins/shopt_builtin.cpp
index f55c49e..fd9e581 100644
--- a/src/builtins/shopt_builtin.cpp
+++ b/src/builtins/shopt_builtin.cpp
@@ -23,9 +23,9 @@
#include "builtins/shopt_builtin.h"
-#include "core/exceptions.h"
#include "core/interpreter.h"
#include "cppbash_builtin.h"
+#include "exceptions.h"
void shopt_builtin::set_opt(const std::vector<std::string>& bash_args, bool value)
{
diff --git a/src/builtins/source_builtin.cpp b/src/builtins/source_builtin.cpp
index d7924ab..91f3397 100644
--- a/src/builtins/source_builtin.cpp
+++ b/src/builtins/source_builtin.cpp
@@ -31,9 +31,9 @@
#include "builtins/builtin_exceptions.h"
#include "cppbash_builtin.h"
-#include "core/exceptions.h"
#include "core/interpreter.h"
#include "core/bash_ast.h"
+#include "exceptions.h"
namespace {
std::mutex parse_mutex;
diff --git a/src/builtins/tests/declare_tests.cpp b/src/builtins/tests/declare_tests.cpp
index 95f4b61..686c816 100644
--- a/src/builtins/tests/declare_tests.cpp
+++ b/src/builtins/tests/declare_tests.cpp
@@ -27,9 +27,9 @@
#include <gtest/gtest.h>
#include "core/bash_ast.h"
-#include "core/exceptions.h"
#include "core/interpreter.h"
#include "cppbash_builtin.h"
+#include "exceptions.h"
using namespace std;
diff --git a/src/builtins/tests/shift_tests.cpp b/src/builtins/tests/shift_tests.cpp
index 8625a6c..05537a1 100644
--- a/src/builtins/tests/shift_tests.cpp
+++ b/src/builtins/tests/shift_tests.cpp
@@ -23,9 +23,9 @@
#include <boost/lexical_cast.hpp>
#include <gtest/gtest.h>
-#include "core/exceptions.h"
#include "core/interpreter.h"
#include "cppbash_builtin.h"
+#include "exceptions.h"
TEST(shift_builtin_test, bad_argument)
{
diff --git a/src/builtins/tests/shopt_tests.cpp b/src/builtins/tests/shopt_tests.cpp
index 9fe4949..dc43dee 100644
--- a/src/builtins/tests/shopt_tests.cpp
+++ b/src/builtins/tests/shopt_tests.cpp
@@ -23,9 +23,9 @@
#include <gtest/gtest.h>
#include "builtins/builtin_exceptions.h"
-#include "core/exceptions.h"
#include "core/interpreter.h"
#include "cppbash_builtin.h"
+#include "exceptions.h"
namespace
{