From 0b75d8404a3c0f7a047de5241035ec7dc80dab0b Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Thu, 15 Dec 2022 12:26:46 +0300 Subject: [PATCH] Removing comments before processing includes --- jsm.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsm.inc.php b/jsm.inc.php index 0567340..dee53d7 100644 --- a/jsm.inc.php +++ b/jsm.inc.php @@ -50,9 +50,9 @@ class JSM $this->_pushCurrentModule($m); $txt = $this->_fixJunk($txt); - $txt = $this->_processIncludes($file, $txt); $txt = $this->_removeBlockComments($txt); $txt = $this->_removeLineComments($txt); + $txt = $this->_processIncludes($file, $txt); $txt = $this->_extractScriptDefs($file, $txt); $this->_parseDefBody($m->node, $file, $txt);