diff options
Diffstat (limited to 'gcc/fortran/scanner.c')
-rw-r--r-- | gcc/fortran/scanner.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/scanner.c b/gcc/fortran/scanner.c index f6bff59c5e1..3c6ca19abd9 100644 --- a/gcc/fortran/scanner.c +++ b/gcc/fortran/scanner.c @@ -689,7 +689,7 @@ load_line (FILE * input, char **pbuf, char *filename, int linenum) static int buflen = 0; char *buffer; - /* Detemine the maximum allowed line length. */ + /* Determine the maximum allowed line length. */ if (gfc_current_form == FORM_FREE) maxlen = GFC_MAX_LINE; else @@ -739,7 +739,7 @@ load_line (FILE * input, char **pbuf, char *filename, int linenum) } if (gfc_current_form == FORM_FIXED && c == '\t' && i <= 6) - { /* Tab expandsion. */ + { /* Tab expansion. */ while (i <= 6) { *buffer++ = ' '; @@ -1034,7 +1034,7 @@ load_file (char *filename, bool initial) /* Add line. */ - b = gfc_getmem (sizeof (gfc_linebuf) + len + 1); + b = gfc_getmem (gfc_linebuf_header_size + len + 1); #ifdef USE_MAPPED_LOCATION b->location |