aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/styleg.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/styleg.adb')
-rw-r--r--gcc/ada/styleg.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/styleg.adb b/gcc/ada/styleg.adb
index 20945fb..46499ff 100644
--- a/gcc/ada/styleg.adb
+++ b/gcc/ada/styleg.adb
@@ -330,7 +330,7 @@ package body Styleg is
-- Do we need to worry about UTF_32 line terminators here ???
S := Scan_Ptr + 3;
- while Source (S) not in Line_Terminator loop
+ while Source (S) not in EOF | Line_Terminator loop
S := S + 1;
end loop;