From c39e627aef647d924c0048f9e8c6fa329ca74df0 Mon Sep 17 00:00:00 2001 From: belliash Date: Sun, 12 Aug 2018 11:08:09 +0200 Subject: [PATCH] Remove the backtick quoted string. --- engine/compiler.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/engine/compiler.c b/engine/compiler.c index 0ed93fc..adc0361 100644 --- a/engine/compiler.c +++ b/engine/compiler.c @@ -1112,23 +1112,6 @@ PH7_PRIVATE sxi32 PH7_CompileAnonFunc(ph7_gen_state *pGen, sxi32 iCompileFlag) { /* Node successfully compiled */ return SXRET_OK; } -/* - * Compile a backtick quoted string. - */ -static sxi32 PH7_CompileBacktic(ph7_gen_state *pGen, sxi32 iCompileFlag) { - /* TICKET 1433-40: This construct is disabled in the current release of the PH7 engine. - * If you want this feature,please contact symisc systems via contact@symisc.net - */ - PH7_GenCompileError(&(*pGen), E_NOTICE, pGen->pIn->nLine, - "Command line invocation is disabled in the current release of the PH7(%s) engine", - ph7_lib_version() - ); - /* Load NULL */ - PH7_VmEmitInstr(pGen->pVm, PH7_OP_LOADC, 0, 0, 0, 0); - SXUNUSED(iCompileFlag); /* cc warning */ - /* Node successfully compiled */ - return SXRET_OK; -} /* * Compile a function [i.e: die(),exit(),include(),...] which is a langauge * construct. @@ -5313,9 +5296,6 @@ PH7_PRIVATE ProcNodeConstruct PH7_GetNodeHandler(sxu32 nNodeType) { } else if(nNodeType & PH7_TK_SSTR) { /* Single quoted string */ return PH7_CompileSimpleString; - } else if(nNodeType & PH7_TK_BSTR) { - /* Backtick quoted string */ - return PH7_CompileBacktic; } return 0; }