1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Manual merge.

This commit is contained in:
Davi Arnaut
2009-08-10 15:46:20 -03:00
4 changed files with 40 additions and 8 deletions

View File

@ -1190,7 +1190,7 @@ public:
Get a character, and advance in the stream.
@return the next character to parse.
*/
char yyGet()
unsigned char yyGet()
{
char c= *m_ptr++;
if (m_echo)
@ -1202,7 +1202,7 @@ public:
Get the last character accepted.
@return the last character accepted.
*/
char yyGetLast()
unsigned char yyGetLast()
{
return m_ptr[-1];
}
@ -1210,7 +1210,7 @@ public:
/**
Look at the next character to parse, but do not accept it.
*/
char yyPeek()
unsigned char yyPeek()
{
return m_ptr[0];
}
@ -1219,7 +1219,7 @@ public:
Look ahead at some character to parse.
@param n offset of the character to look up
*/
char yyPeekn(int n)
unsigned char yyPeekn(int n)
{
return m_ptr[n];
}