Browse Source

Update comments

pull/44/head
Rafal Kupiec 3 years ago
parent
commit
48b2e9d1c6
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      engine/compiler.c
  2. +1
    -1
      engine/parser.c

+ 1
- 1
engine/compiler.c 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 */


+ 1
- 1
engine/parser.c 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


Loading…
Cancel
Save