summaryrefslogtreecommitdiff
path: root/gcc/ada/styleg.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/styleg.ads')
-rw-r--r--gcc/ada/styleg.ads9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ada/styleg.ads b/gcc/ada/styleg.ads
index 7a5b312091b..448755a7bb9 100644
--- a/gcc/ada/styleg.ads
+++ b/gcc/ada/styleg.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2007, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -133,6 +133,13 @@ package Styleg is
-- procedure is called only if THEN appears at the start of a line with
-- Token_Ptr pointing to the THEN keyword.
+ procedure Check_Separate_Stmt_Lines;
+ pragma Inline (Check_Separate_Stmt_Lines);
+ -- Called after scanning THEN (not preceded by AND) or ELSE (not preceded
+ -- by OR). Used to check that no tokens follow on the same line (which
+ -- would intefere with coverage testing). Handles case of THEN ABORT as
+ -- an exception, as well as PRAGMA after ELSE.
+
procedure Check_Unary_Plus_Or_Minus;
-- Called after scanning a unary plus or minus to check spacing