mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
Misc
This commit is contained in:
parent
bd294ed1ba
commit
79f8d2ceef
@ -5439,7 +5439,7 @@ int Parser::yylexAux()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((c == '-') && (lex.ptr < lex.end) && (*lex.ptr == '-'))
|
if (c == '-' && lex.ptr < lex.end && *lex.ptr == '-')
|
||||||
{
|
{
|
||||||
/* single-line */
|
/* single-line */
|
||||||
|
|
||||||
@ -5455,7 +5455,7 @@ int Parser::yylexAux()
|
|||||||
return -1;
|
return -1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if ((c == '/') && (lex.ptr < lex.end) && (*lex.ptr == '*'))
|
else if (c == '/' && lex.ptr < lex.end && *lex.ptr == '*')
|
||||||
{
|
{
|
||||||
/* multi-line */
|
/* multi-line */
|
||||||
|
|
||||||
@ -5637,7 +5637,7 @@ int Parser::yylexAux()
|
|||||||
// The resulting value is stored in a string descriptor and
|
// The resulting value is stored in a string descriptor and
|
||||||
// returned to the parser as a string. This can be stored
|
// returned to the parser as a string. This can be stored
|
||||||
// in a character or binary item.
|
// in a character or binary item.
|
||||||
if ((c == 'x' || c == 'X') && (lex.ptr < lex.end) && *lex.ptr == '\'')
|
if ((c == 'x' || c == 'X') && lex.ptr < lex.end && *lex.ptr == '\'')
|
||||||
{
|
{
|
||||||
bool hexerror = false;
|
bool hexerror = false;
|
||||||
|
|
||||||
@ -5741,7 +5741,7 @@ int Parser::yylexAux()
|
|||||||
// to an integer, and the result returned to the caller. The
|
// to an integer, and the result returned to the caller. The
|
||||||
// token is identified as a NUMBER if it's a 32-bit or less
|
// token is identified as a NUMBER if it's a 32-bit or less
|
||||||
// value, or a NUMBER64INT if it requires a 64-bit number.
|
// value, or a NUMBER64INT if it requires a 64-bit number.
|
||||||
if ((c == '0') && (lex.ptr + 1 < lex.end) && (*lex.ptr == 'x' || *lex.ptr == 'X') &&
|
if (c == '0' && lex.ptr + 1 < lex.end && (*lex.ptr == 'x' || *lex.ptr == 'X') &&
|
||||||
(classes(lex.ptr[1]) & CHR_HEX))
|
(classes(lex.ptr[1]) & CHR_HEX))
|
||||||
{
|
{
|
||||||
bool hexerror = false;
|
bool hexerror = false;
|
||||||
|
@ -357,7 +357,7 @@ static bool INET_initialized = false;
|
|||||||
static bool INET_shutting_down = false;
|
static bool INET_shutting_down = false;
|
||||||
static SLCT INET_select = { 0, 0, 0 };
|
static SLCT INET_select = { 0, 0, 0 };
|
||||||
static int INET_max_clients;
|
static int INET_max_clients;
|
||||||
static rem_port *inet_async_receive = 0;
|
static rem_port* inet_async_receive = NULL;
|
||||||
|
|
||||||
|
|
||||||
static Firebird::GlobalPtr<Firebird::Mutex> port_mutex;
|
static Firebird::GlobalPtr<Firebird::Mutex> port_mutex;
|
||||||
|
Loading…
Reference in New Issue
Block a user