changed some comments

This commit is contained in:
hyung-hwan 2014-07-02 13:59:32 +00:00
parent a3453e5bd0
commit 22444e298a
2 changed files with 5 additions and 5 deletions

View File

@ -1186,7 +1186,6 @@ int qse_awk_buildrex (
#endif
}
#if !defined(USE_REX)
static int matchtre (

View File

@ -5691,14 +5691,15 @@ static int get_rexstr (qse_awk_t* awk, qse_awk_tok_t* tok)
{
if (awk->sio.last.c == QSE_T('/'))
{
/* this part of the function is different from get_charstr
* because of the way this function is called.
/* handle an empty regular expression.
*
* this condition is met when the input is //.
* the first / has been tokenized to TOK_DIV already.
* if TOK_DIV is seen as a primary, this function is called.
* as the token buffer has been cleared by the caller and
* the token type is set to TOK_REX, this function can
* just return after reading the next character */
* just return after reading the next character.
* see parse_primary_rex(). */
GET_CHAR (awk);
return 0;
}