Kaydet (Commit) 7e248d35 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

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: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst faa2f029
......@@ -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,"<math:mo>%s</math:mo>\n",tmp->value); indo;
......
......@@ -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);
......
......@@ -60,7 +60,7 @@ enum IDLIST {
ID_NUMBER,
ID_OPERATOR,
ID_SPACE,
ID_DELIMETER
ID_DELIMITER
};
class Node{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment