summaryrefslogtreecommitdiffstats
path: root/common/parser.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-09-17 09:50:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-18 09:17:13 +0200
commit56ee5d3aac2d73dbe1e699000cb83eea18278e68 (patch)
treefd1d1e1251ff657b813b9273c22efdc113a8025b /common/parser.c
parent179ed619f428da8a86ddabe3033f0acdf5159236 (diff)
downloadbarebox-56ee5d3aac2d73dbe1e699000cb83eea18278e68.tar.gz
process_escape_sequence: add support to \$?
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/parser.c')
-rw-r--r--common/parser.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/parser.c b/common/parser.c
index 4d993df..d390fb6 100644
--- a/common/parser.c
+++ b/common/parser.c
@@ -1,6 +1,15 @@
#include <common.h>
#include <command.h>
#include <environment.h>
+#include <shell.h>
+
+/*
+ * not yet supported
+ */
+int shell_get_last_return_code(void)
+{
+ return 0;
+}
static int parse_line (char *line, char *argv[])
{