This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Tested on i686-linux, committed on trunk This patch corrects the handling of programs containing very long source lines which after tab expansion have more than 32766 characters. Such lines cause various problems given that the column number types are only 16 bits. This patch diagnoses such bizarre lines cleanly and abandons compilation. The following is a test program procedure truc is begin <4096 horizontal tab characters> null; end; This now gives a clean error: truc.adb:3:01: this line is longer than 32766 characters compilation abandoned 2007-06-06 Robert Dewar <dewar@adacore.com> * scng.adb: (Check_End_Of_Line): Deal with very long lines
Attachment:
difs
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |