fix compile with Bison 2.5
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
This commit is contained in:
parent
1bf36db7af
commit
8ce982432a
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -4781,7 +4781,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())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue