Browse Source

pas2js: set version 0.9.6

git-svn-id: trunk@38438 -
Mattias Gaertner 7 years ago
parent
commit
3508070d10
2 changed files with 7 additions and 4 deletions
  1. 1 1
      packages/pastojs/src/pas2jscompiler.pp
  2. 6 3
      utils/pas2js/docs/translation.html

+ 1 - 1
packages/pastojs/src/pas2jscompiler.pp

@@ -29,7 +29,7 @@ uses
 const
   VersionMajor = 0;
   VersionMinor = 9;
-  VersionRelease = 5;
+  VersionRelease = 6;
   VersionExtra = '+beta';
   DefaultConfigFile = 'pas2js.cfg';
 

+ 6 - 3
utils/pas2js/docs/translation.html

@@ -2672,9 +2672,12 @@ End.
     <li>and, or, xor, not: logical and bitwise</li>
     <li>Name conflicts with JS identifiers are automatically fixed by changing case.
     For example a Pascal function "<i>apply"</i> is renamed to "<i>Apply</i>".</li>
-    <li>uses unitname in 'filename'. In $mode delphi the in-filenames are only
-    allowed in the program and the unitname must fit the filename. In $mode
-    objfpc units can use in-filenames too and alias are allowed.</li>
+    <li>uses unitname in 'filename'.
+    In <i>$mode delphi</i> the in-filenames are only allowed in the program
+    and the unitname must fit the filename,
+    e.g. <i>uses unit1 in 'sub/Unit1.pas'</i>.<br>
+    In <i>$mode objfpc</i> units can use in-filenames too and
+    alias are allowed, e.g. <i>uses foo in 'bar.pas'</i>.</li>
     <li>The built-in procedure <b>str</b> works with boolean, integer, float and enumvalue.<br>
     Additionally there is <b>str</b> function, that takes an arbitrary number of
     arguments and returns a concatenated string. It supports string as parameter too.