From d8d514fa33a2f2f9504732a19fdba81a6ccccbd7 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 9 Jul 2018 13:32:28 -0700 Subject: edify: Rename parse_string to ParseString and let it take std::string. Also simplify the helper function expect() in {edify,updater}_test.cpp. Test: Run recovery_component_test on marlin. Change-Id: If54febba4b5013f6d71546318a1ca6b635204ac8 --- edify/include/edify/expr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'edify/include') diff --git a/edify/include/edify/expr.h b/edify/include/edify/expr.h index 770d1cf0d..b922a9bd2 100644 --- a/edify/include/edify/expr.h +++ b/edify/include/edify/expr.h @@ -156,6 +156,6 @@ Value* StringValue(const char* str); Value* StringValue(const std::string& str); -int parse_string(const char* str, std::unique_ptr* root, int* error_count); +int ParseString(const std::string& str, std::unique_ptr* root, int* error_count); #endif // _EXPRESSION_H -- cgit v1.2.3