Removing comments before processing includes

This commit is contained in:
Pavel Shevaev 2022-12-15 12:26:46 +03:00
parent 523c3d04bc
commit 0b75d8404a
1 changed files with 1 additions and 1 deletions

View File

@ -50,9 +50,9 @@ class JSM
$this->_pushCurrentModule($m); $this->_pushCurrentModule($m);
$txt = $this->_fixJunk($txt); $txt = $this->_fixJunk($txt);
$txt = $this->_processIncludes($file, $txt);
$txt = $this->_removeBlockComments($txt); $txt = $this->_removeBlockComments($txt);
$txt = $this->_removeLineComments($txt); $txt = $this->_removeLineComments($txt);
$txt = $this->_processIncludes($file, $txt);
$txt = $this->_extractScriptDefs($file, $txt); $txt = $this->_extractScriptDefs($file, $txt);
$this->_parseDefBody($m->node, $file, $txt); $this->_parseDefBody($m->node, $file, $txt);