From 7e248d3558fe8385a99629cd721e7c7feafd9974 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 17 Sep 2018 19:10:44 +0200 Subject: Fix ID_DELIMETER->ID_DELIMITER It passed "make check" on Linux Change-Id: Ic119935ca45f985b3cd088b16db4128ffaf2d1a2 Reviewed-on: https://gerrit.libreoffice.org/60642 Tested-by: Jenkins Reviewed-by: Julien Nabet --- hwpfilter/source/formula.cxx | 2 +- hwpfilter/source/grammar.cxx | 4 ++-- hwpfilter/source/nodes.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'hwpfilter/source') diff --git a/hwpfilter/source/formula.cxx b/hwpfilter/source/formula.cxx index 5ab06f91dd9b..74eb9f90c068 100644 --- a/hwpfilter/source/formula.cxx +++ b/hwpfilter/source/formula.cxx @@ -233,7 +233,7 @@ void Formula::makeIdentifier(Node *res) #endif break; case ID_OPERATOR : - case ID_DELIMETER : + case ID_DELIMITER : { #ifdef DEBUG inds; fprintf(stderr,"%s\n",tmp->value); indo; diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx index fe8a11de80bd..1e20afc22729 100644 --- a/hwpfilter/source/grammar.cxx +++ b/hwpfilter/source/grammar.cxx @@ -771,10 +771,10 @@ case 11: { yyval.ptr = new Node(ID_IDENTIFIER); yyval.ptr->value = strdup(yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str); nodelist.push_back(yyval.ptr); break;} case 12: -{ yyval.ptr = new Node(ID_DELIMETER); yyval.ptr->value = strdup(yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str); nodelist.push_back(yyval.ptr); +{ yyval.ptr = new Node(ID_DELIMITER); yyval.ptr->value = strdup(yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str); nodelist.push_back(yyval.ptr); break;} case 13: -{ yyval.ptr = new Node(ID_DELIMETER); yyval.ptr->value = strdup(yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str); nodelist.push_back(yyval.ptr); +{ yyval.ptr = new Node(ID_DELIMITER); yyval.ptr->value = strdup(yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str); nodelist.push_back(yyval.ptr); break;} case 14: { yyval.ptr = new Node(ID_IDENTIFIER); yyval.ptr->value = strdup(yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str); nodelist.push_back(yyval.ptr); diff --git a/hwpfilter/source/nodes.h b/hwpfilter/source/nodes.h index 61db3a818137..048a1289d472 100644 --- a/hwpfilter/source/nodes.h +++ b/hwpfilter/source/nodes.h @@ -60,7 +60,7 @@ enum IDLIST { ID_NUMBER, ID_OPERATOR, ID_SPACE, - ID_DELIMETER + ID_DELIMITER }; class Node{ -- cgit