First version of #25 implementation, providing memory_get_usage/memory_get_peak_usage/memory_limit
This commit is contained in:
@@ -3637,7 +3637,7 @@ static sxi32 PH7_CompileClassInterface(ph7_gen_state *pGen) {
|
||||
sxi32 iP1 = 0;
|
||||
/* Jump the 'interface' keyword */
|
||||
pGen->pIn++;
|
||||
if(pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & PH7_TK_ID) == 0) {
|
||||
if(pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & PH7_TK_ID) == 0) {
|
||||
/* Syntax error */
|
||||
rc = PH7_GenCompileError(pGen, E_ERROR, nLine, "Invalid interface name");
|
||||
if(rc == SXERR_ABORT) {
|
||||
|
Reference in New Issue
Block a user