summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-26 17:17:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-26 17:17:01 -0400
commitfeff681f4464eb9b538bde613afaf3b03c7c223a (patch)
tree0dbe6b679048f0de05b9bd50d4fed53c68552dce /src/utils.h
parent92d1bbbe75df71731d458f5b48bcb0f145428920 (diff)
downloadfork-ledger-feff681f4464eb9b538bde613afaf3b03c7c223a.tar.gz
fork-ledger-feff681f4464eb9b538bde613afaf3b03c7c223a.tar.bz2
fork-ledger-feff681f4464eb9b538bde613afaf3b03c7c223a.zip
Improved argument parsing logic used by the REPL
It now handles quoted strings, although it doesn't understand escape sequences yet.
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 7f5ca017..98bdf9af 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -237,6 +237,8 @@ inline bool operator!=(const string& __lhs, const char* __rhs)
extern ledger::string empty_string;
+ledger::strings_list split_arguments(const char * line);
+
#define IF_VERIFY() if (DO_VERIFY())
/*@}*/