sinput.adb (Skip_Line_Terminators): Fix handling of LF/CR -- it was recognized as two end-of-lines...
2008-07-31 Bob Duff <duff@adacore.com> * sinput.adb (Skip_Line_Terminators): Fix handling of LF/CR -- it was recognized as two end-of-lines, but it should be just one. From-SVN: r138390
This commit is contained in:
parent
2f62e83f53
commit
23bcc1909d
@ -657,7 +657,7 @@ package body Sinput is
|
||||
end if;
|
||||
|
||||
elsif Chr = LF then
|
||||
if Source (P) = CR then
|
||||
if Source (P + 1) = CR then
|
||||
P := P + 2;
|
||||
else
|
||||
P := P + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user