2020-06-02 Thomas Quinot <quinot@adacore.com>
gcc/ada/
* par_sco.adb (Traverse_Degenerate_Subprogram): Set statement
code to 'X'.
* scos.ads: Update comment documenting SCO data.
-- chain.
Current_Dominant := No_Dominant;
- Extend_Statement_Sequence (N, Typ => ' ');
+ Extend_Statement_Sequence (N, Typ => 'X');
-- For the case of an expression-function, collect decisions
-- embedded in the expression now.
-- R extended RETURN statement
-- S SELECT statement
-- W WHILE loop statement (from WHILE to end of condition)
+ -- X body of a degenerate subprogram (null procedure or
+ -- expression function)
-- Note: for I and W, condition above is in the RM syntax sense (this
-- condition is a decision in SCO terminology).