Update comments

This commit is contained in:
Rafal Kupiec 2018-07-28 23:40:00 +02:00
parent e300575ab1
commit 48b2e9d1c6
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 2 additions and 2 deletions

View File

@ -2651,7 +2651,7 @@ static sxi32 PH7_CompileReturn(ph7_gen_state *pGen) {
static sxi32 PH7_CompileHalt(ph7_gen_state *pGen) {
sxi32 nExpr = 0;
sxi32 rc;
/* Jump the die/exit keyword */
/* Jump the exit keyword */
pGen->pIn++;
if(pGen->pIn < pGen->pEnd && (pGen->pIn->nType & PH7_TK_SEMI) == 0) {
/* Compile the expression */

View File

@ -320,7 +320,7 @@ PH7_PRIVATE void PH7_DelimitNestedTokens(SyToken *pIn, SyToken *pEnd, sxu32 nTok
*ppEnd = pCur;
}
/*
* Retrun TRUE if the given ID represent a language construct [i.e: print,echo..]. FALSE otherwise.
* Return TRUE if the given ID represent a language construct [i.e: print,echo..]. FALSE otherwise.
* Note on reserved keywords.
* According to the PHP language reference manual:
* These words have special meaning in PHP. Some of them represent things which look like