Skip to content

Commit 21862af

Browse files
authored
Merge pull request #272 from choleraehyq/simplecondition
parser: fix SimpleCondtition -> SimpleCondition
2 parents a82405d + fbc8da3 commit 21862af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

euler/parser/attribute_calculator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ limitations under the License.
2121

2222
namespace euler {
2323

24-
bool SimpleCondtition(TreeNode* t) {
24+
bool SimpleCondition(TreeNode* t) {
2525
std::vector<TreeNode*> children = t->GetChildren();
2626
std::string op = children[0]->GetValue();
2727
std::string p = children[1]->GetValue();

euler/parser/attribute_calculator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
namespace euler {
2222

23-
bool SimpleCondtition(TreeNode* t);
23+
bool SimpleCondition(TreeNode* t);
2424
bool HasKey(TreeNode* t);
2525
bool HasLabel(TreeNode* t);
2626
bool Has(TreeNode* t);

euler/parser/translator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace euler {
3030
class Translator {
3131
public:
3232
explicit Translator(OptimizerType type) : env_type_(type) {
33-
func_map_["SIMPLE_CONDITION"] = SimpleCondtition;
33+
func_map_["SIMPLE_CONDITION"] = SimpleCondition;
3434
func_map_["HAS_KEY"] = HasKey;
3535
func_map_["HAS_LABEL"] = HasLabel;
3636
func_map_["HAS"] = Has;

0 commit comments

Comments
 (0)