mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
fcl-passrc: fixed compile with pas2js
git-svn-id: trunk@46808 -
This commit is contained in:
parent
342771c0c7
commit
13c10cc622
@ -20259,11 +20259,11 @@ begin
|
||||
begin
|
||||
bt:=ParamResolved.BaseType;
|
||||
case bt of
|
||||
btChar: if BaseTypeChar=btAnsiChar then aName:='tkChar' else aName:='tkWChar';
|
||||
btChar: {$ifdef FPC_HAS_CPSTRING}if BaseTypeChar=btAnsiChar then aName:='tkChar' else {$ENDIF}aName:='tkWChar';
|
||||
{$ifdef FPC_HAS_CPSTRING}
|
||||
btAnsiChar: aName:='tkChar';
|
||||
{$endif}
|
||||
btWideChar: aName:='tkWideChar';
|
||||
btWideChar: aName:='tkWChar';
|
||||
btString: if BaseTypeString=btAnsiString then aName:='tkAString' else aName:='tkUString';
|
||||
{$ifdef FPC_HAS_CPSTRING}
|
||||
btAnsiString,
|
||||
|
Loading…
Reference in New Issue
Block a user