aboutsummaryrefslogtreecommitdiff
path: root/value.h
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-17 17:51:24 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-18 11:25:44 +0900
commitd146f4c482adb0c51bfc1bef101361845f74407c (patch)
treebf2f649f66ce5ddbdb3fafbed6fbf12163c4b5a1 /value.h
parenteb2b3d0a6a18e2eff96ba64abf5604011c2fbf2d (diff)
downloadkati-d146f4c482adb0c51bfc1bef101361845f74407c.tar.gz
[C++] Implement ifeq
Diffstat (limited to 'value.h')
-rw-r--r--value.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/value.h b/value.h
index 3b3e324..55037dc 100644
--- a/value.h
+++ b/value.h
@@ -34,7 +34,9 @@ class Value : public Evaluable {
virtual string DebugString_() const = 0;
};
-Value* ParseExpr(StringPiece s, bool is_command);
+Value* ParseExprImpl(StringPiece s, const char* terms, bool is_command,
+ size_t* index_out, bool trim_right_space = false);
+Value* ParseExpr(StringPiece s, bool is_command = false);
string JoinValues(const vector<Value*> vals, const char* sep);