Browse Source

Update comments

pull/44/head
Rafal Kupiec 3 years ago
parent
commit
48b2e9d1c6
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
  1. 2
      engine/compiler.c
  2. 2
      engine/parser.c

2
engine/compiler.c

@ -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 */

2
engine/parser.c

@ -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

Loading…
Cancel
Save