mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 13:59:29 +02:00
pas2js: logger adapted for pas2js
git-svn-id: trunk@40042 -
This commit is contained in:
parent
a089496183
commit
60dab2f4fb
@ -5,10 +5,11 @@ program nodepas2js;
|
||||
uses
|
||||
JS, NodeJS, NodeJSFS, Math,
|
||||
Classes, SysUtils,
|
||||
jstree, jswriter,
|
||||
jsbase, jstree, jswriter,
|
||||
fpjson,
|
||||
PasTree, PScanner, PParser, PasResolveEval, PasResolver, PasUseAnalyzer,
|
||||
FPPas2Js;
|
||||
FPPas2Js,
|
||||
Pas2jsFileUtils, Pas2jsLogger;
|
||||
|
||||
begin
|
||||
// Your code here
|
||||
|
@ -41,7 +41,7 @@ begin
|
||||
for i:=1 to ParamCount do
|
||||
ParamList.Add(Params[i]);
|
||||
try
|
||||
Compiler.Run(ParamStr(0),GetCurrentDirUTF8,ParamList);
|
||||
Compiler.Run(ParamStr(0),GetCurrentDirPJ,ParamList);
|
||||
except
|
||||
on E: ECompilerTerminate do ;
|
||||
on E: Exception do
|
||||
|
Loading…
Reference in New Issue
Block a user