summaryrefslogtreecommitdiffstats
path: root/gcc/fortran/gfortran.h
diff options
context:
space:
mode:
authorbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-15 03:52:03 +0000
committerbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-15 03:52:03 +0000
commit40da2b01e4cc57a1cf890af8966a9fe49b748473 (patch)
tree48bf955c5a301ae0a43b653d35cd27e7c36b6821 /gcc/fortran/gfortran.h
parent7259d37f5e5ba8188ae8649a4fe9c071c4b6b485 (diff)
downloadppe42-gcc-40da2b01e4cc57a1cf890af8966a9fe49b748473.tar.gz
ppe42-gcc-40da2b01e4cc57a1cf890af8966a9fe49b748473.zip
* gfortran.h (GFC_MAX_LINE): Remove constant definition.
(gfc_option_t): Clarify comments. * options.c: Set default line length limits to actual default values, rather than flag values. * scanner.c: Eliminate checking and handling of the fixed/free_line_length flag values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118842 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r--gcc/fortran/gfortran.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index a369d328505..cf0dabfc81d 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -55,8 +55,7 @@ char *alloca ();
/* Major control parameters. */
-#define GFC_MAX_SYMBOL_LEN 63
-#define GFC_MAX_LINE 132 /* Characters beyond this are not seen. */
+#define GFC_MAX_SYMBOL_LEN 63 /* Must be at least 63 for F2003. */
#define GFC_MAX_DIMENSIONS 7 /* Maximum dimensions in an array. */
#define GFC_LETTERS 26 /* Number of letters in the alphabet. */
@@ -1602,20 +1601,16 @@ typedef struct
{
char *module_dir;
gfc_source_form source_form;
- /* When fixed_line_length or free_line_length are 0, the whole line is used.
-
- Default is -1, the maximum line length mandated by the respective source
- form is used:
- for FORM_FREE GFC_MAX_LINE (132)
- else 72.
-
- If fixed_line_length or free_line_length is not 0 nor -1 then the user has
- requested a specific line-length.
+ /* Maximum line lengths in fixed- and free-form source, respectively.
+ When fixed_line_length or free_line_length are 0, the whole line is used,
+ regardless of length.
If the user requests a fixed_line_length <7 then gfc_init_options()
emits a fatal error. */
- int fixed_line_length; /* maximum line length in fixed-form. */
- int free_line_length; /* maximum line length in free-form. */
+ int fixed_line_length;
+ int free_line_length;
+ /* Maximum number of continuation lines in fixed- and free-form source,
+ respectively. */
int max_continue_fixed;
int max_continue_free;
int max_identifier_length;
OpenPOWER on IntegriCloud