pas2js: docs option -Sj

git-svn-id: trunk@44078 -
This commit is contained in:
Mattias Gaertner 2020-02-01 10:38:33 +00:00
parent b45a0dfbb8
commit b761498428
2 changed files with 4 additions and 2 deletions

View File

@ -4672,11 +4672,12 @@ begin
w(' -Pecmascript5: default'); w(' -Pecmascript5: default');
w(' -Pecmascript6'); w(' -Pecmascript6');
w(' -S<x> : Syntax options. <x> is a combination of the following letters:'); w(' -S<x> : Syntax options. <x> is a combination of the following letters:');
w(' 2 : Same as -Mobjfpc (default)');
w(' a : Turn on assertions'); w(' a : Turn on assertions');
w(' c : Support operators like C (*=,+=,/= and -=)'); w(' c : Support operators like C (*=,+=,/= and -=)');
w(' d : Same as -Mdelphi'); w(' d : Same as -Mdelphi');
w(' j : Allows typed constants to be writeable (default)');
w(' m : Enables macro replacements'); w(' m : Enables macro replacements');
w(' 2 : Same as -Mobjfpc (default)');
w(' -SI<x> : Set interface style to <x>'); w(' -SI<x> : Set interface style to <x>');
w(' -SIcom : COM, reference counted interface (default)'); w(' -SIcom : COM, reference counted interface (default)');
w(' -SIcorba: CORBA interface'); w(' -SIcorba: CORBA interface');

View File

@ -196,11 +196,12 @@ Put + after a boolean switch option to enable it, - to disable it
-Pecmascript5 : default -Pecmascript5 : default
-Pecmascript6 -Pecmascript6
-S&lt;x&gt; : Syntax options. &lt;x&gt; is a combination of the following letters: -S&lt;x&gt; : Syntax options. &lt;x&gt; is a combination of the following letters:
2 : Same as -Mobjfpc (default)
a : Turn on assertions a : Turn on assertions
c : Support operators like C (*=,+=,/= and -=) c : Support operators like C (*=,+=,/= and -=)
d : Same as -Mdelphi d : Same as -Mdelphi
m : Enables macro replacements m : Enables macro replacements
2 : Same as -Mobjfpc (default) j : Allows typed constants to be writeable (default)
-SI&lt;x&gt; : Set interface style to &lt;x&gt; -SI&lt;x&gt; : Set interface style to &lt;x&gt;
-SIcom : COM, reference counted interface (default) -SIcom : COM, reference counted interface (default)
-SIcorba : CORBA interface -SIcorba : CORBA interface