commit | d146f4c482adb0c51bfc1bef101361845f74407c | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Wed Jun 17 17:51:24 2015 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Thu Jun 18 11:25:44 2015 +0900 |
tree | bf2f649f66ce5ddbdb3fafbed6fbf12163c4b5a1 | |
parent | eb2b3d0a6a18e2eff96ba64abf5604011c2fbf2d [diff] [blame] |
[C++] Implement ifeq
diff --git a/value.h b/value.h index 3b3e324..55037dc 100644 --- a/value.h +++ b/value.h
@@ -34,7 +34,9 @@ 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);