* gnat1drv.adb: Enable Exception_Extra_Info in CodePeer_Mode.
2012-05-15 Sergey Rybin <rybin@adacore.com frybin>
* gnat_ugn.texi (Complexity Metrics Control section): Fix
reference to McCabe's book defining complexity metrics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187524
138bc75d-0d04-0410-961f-
82ee72b054a4
Force_ALI_Tree_File := True;
Try_Semantics := True;
+
+ -- Enable Exception_Extra_Info for now, to avoid extra messages
+ -- on controlled operations.
+ -- ??? To be revised.
+
+ Exception_Extra_Info := True;
end if;
-- Set Configurable_Run_Time mode if system.ads flag set
The Ada essential complexity metric defined here is intended to quantify
the extent to which the software is unstructured. It is adapted from
the McCabe essential complexity metric defined in
-http://www.mccabe.com/pdf/nist235r.pdf but is modified to be more
+@url{http://www.mccabe.com/pdf/mccabe-nist235r.pdf} but is modified to be more
suitable for typical Ada usage. For example, short circuit forms
are not penalized as unstructured in the Ada essential complexity metric.