starmath: Drop useless PE_BINOPER_EXPECTED
as no code generates the error. Change-Id: I86f2db28030090e0a9284e7771f26821468bb685 Reviewed-on: https://gerrit.libreoffice.org/26974 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
This commit is contained in:
@@ -28,7 +28,7 @@ enum SmParseError
|
||||
PE_NONE,
|
||||
PE_UNEXPECTED_CHAR, PE_UNEXPECTED_TOKEN,
|
||||
PE_FUNC_EXPECTED, PE_UNOPER_EXPECTED,
|
||||
PE_BINOPER_EXPECTED, PE_SYMBOL_EXPECTED,
|
||||
PE_SYMBOL_EXPECTED,
|
||||
PE_IDENTIFIER_EXPECTED, PE_POUND_EXPECTED,
|
||||
PE_COLOR_EXPECTED, PE_LGROUP_EXPECTED,
|
||||
PE_RGROUP_EXPECTED, PE_LBRACE_EXPECTED,
|
||||
|
@@ -126,7 +126,7 @@
|
||||
#define RID_ERR_RBRACEEXPECTED (RID_APP_START + 926)
|
||||
#define RID_ERR_FUNCEXPECTED (RID_APP_START + 927)
|
||||
#define RID_ERR_UNOPEREXPECTED (RID_APP_START + 928)
|
||||
#define RID_ERR_BINOPEREXPECTED (RID_APP_START + 929)
|
||||
|
||||
#define RID_ERR_SYMBOLEXPECTED (RID_APP_START + 930)
|
||||
#define RID_ERR_IDENTEXPECTED (RID_APP_START + 931)
|
||||
#define RID_ERR_POUNDEXPECTED (RID_APP_START + 932)
|
||||
|
@@ -2376,7 +2376,6 @@ void SmParser::AddError(SmParseError Type, SmNode *pNode)
|
||||
case PE_RBRACE_EXPECTED: nRID = RID_ERR_RBRACEEXPECTED; break;
|
||||
case PE_FUNC_EXPECTED: nRID = RID_ERR_FUNCEXPECTED; break;
|
||||
case PE_UNOPER_EXPECTED: nRID = RID_ERR_UNOPEREXPECTED; break;
|
||||
case PE_BINOPER_EXPECTED: nRID = RID_ERR_BINOPEREXPECTED; break;
|
||||
case PE_SYMBOL_EXPECTED: nRID = RID_ERR_SYMBOLEXPECTED; break;
|
||||
case PE_IDENTIFIER_EXPECTED: nRID = RID_ERR_IDENTEXPECTED; break;
|
||||
case PE_POUND_EXPECTED: nRID = RID_ERR_POUNDEXPECTED; break;
|
||||
|
@@ -206,11 +206,6 @@ String RID_ERR_UNOPEREXPECTED
|
||||
Text [ en-US ] = "Unary operator expected" ;
|
||||
};
|
||||
|
||||
String RID_ERR_BINOPEREXPECTED
|
||||
{
|
||||
Text [ en-US ] = "Binary operator expected" ;
|
||||
};
|
||||
|
||||
String RID_ERR_SYMBOLEXPECTED
|
||||
{
|
||||
Text [ en-US ] = "Symbol expected" ;
|
||||
|
Reference in New Issue
Block a user