diff options
Diffstat (limited to 'gcc/ada/prj-tree.adb')
-rw-r--r-- | gcc/ada/prj-tree.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/prj-tree.adb b/gcc/ada/prj-tree.adb index aee8da5c48c..8072c9daae4 100644 --- a/gcc/ada/prj-tree.adb +++ b/gcc/ada/prj-tree.adb @@ -144,9 +144,9 @@ package body Prj.Tree is -- Create new N_Comment node - if (Where = After or else Where = After_End) and then - Token /= Tok_EOF and then - Comments.Table (J).Follows_Empty_Line + if (Where = After or else Where = After_End) + and then Token /= Tok_EOF + and then Comments.Table (J).Follows_Empty_Line then Comments.Table (1 .. Comments.Last - J + 1) := Comments.Table (J .. Comments.Last); |