pas2js: updated nodepas2js and compile with ecmascript6

This commit is contained in:
mattias 2024-01-07 12:53:20 +01:00
parent e3f4bad164
commit 03d7518b9b
2 changed files with 4 additions and 5 deletions

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="11"/>
<Version Value="12"/>
<General>
<Flags>
<MainUnitHasCreateFormStatements Value="False"/>
<MainUnitHasTitleStatement Value="False"/>
<MainUnitHasScaledStatement Value="False"/>
<Runnable Value="False"/>
<CompatibilityMode Value="True"/>
</Flags>
<SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<Title Value="nodepas2js"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
@ -24,7 +24,6 @@
</PublishOptions>
<RunParams>
<FormatVersion Value="2"/>
<Modes Count="0"/>
</RunParams>
<Units Count="1">
<Unit0>

View File

@ -6,8 +6,8 @@ program nodepas2js;
uses
JS, NodeJSApp,
Classes, SysUtils,
Pas2jsFileUtils, Pas2jsLogger,
Pas2jsCompiler, Pas2JSFSCompiler, Pas2JSCompilerCfg;
Pas2jsFileUtils, Pas2jsLogger, Pas2jsCompiler,
Pas2JSFSCompiler, {Pas2JSCompilerPP, }Pas2JSCompilerCfg;
type