Browse Source

+ Added switch to swicth on assertions.

michael 25 years ago
parent
commit
26c924229c
1 changed files with 5 additions and 1 deletions
  1. 5 1
      compiler/options.pas

+ 5 - 1
compiler/options.pas

@@ -688,6 +688,7 @@ begin
                       for j:=1 to length(more) do
                       for j:=1 to length(more) do
                        case more[j] of
                        case more[j] of
                         '2' : initmodeswitches:=objfpcmodeswitches;
                         '2' : initmodeswitches:=objfpcmodeswitches;
+                        'a' : initlocalswitches:=InitLocalswitches+[cs_do_assertion];
                         'c' : initmoduleswitches:=initmoduleswitches+[cs_support_c_operators];
                         'c' : initmoduleswitches:=initmoduleswitches+[cs_support_c_operators];
                         'd' : initmodeswitches:=delphimodeswitches;
                         'd' : initmodeswitches:=delphimodeswitches;
                         'e' : begin
                         'e' : begin
@@ -1435,7 +1436,10 @@ end;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.61  2000-02-15 14:36:45  florian
+  Revision 1.62  2000-03-13 20:06:59  michael
+  + Added switch to swicth on assertions.
+
+  Revision 1.61  2000/02/15 14:36:45  florian
     * disable FIXED data type per default
     * disable FIXED data type per default
 
 
   Revision 1.60  2000/02/10 11:45:48  peter
   Revision 1.60  2000/02/10 11:45:48  peter