fix compile with Bison 2.5
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
This commit is contained in:
committed by
Luboš Luňák
parent
738fa3d5ed
commit
f7afe79010
@@ -232,7 +232,7 @@ namespace connectivity
|
||||
// returns the type for a parameter in a given function name
|
||||
static sal_Int32 getFunctionParameterType(sal_uInt32 _nTokenId,sal_uInt32 _nPos);
|
||||
|
||||
void error(sal_Char *fmt);
|
||||
void error(const sal_Char *fmt);
|
||||
int SQLlex();
|
||||
#ifdef YYBISON
|
||||
void setParseTree(OSQLParseNode * pNewParseTree);
|
||||
|
@@ -4333,7 +4333,7 @@ void OSQLParser::reduceLiteral(OSQLParseNode*& pLiteral, sal_Bool bAppendBlank)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
void OSQLParser::error(sal_Char *fmt)
|
||||
void OSQLParser::error(const sal_Char *fmt)
|
||||
{
|
||||
if(!m_sErrorMessage.getLength())
|
||||
{
|
||||
|
Reference in New Issue
Block a user