diff options
Diffstat (limited to 'gcc/fortran/parse.c')
-rw-r--r-- | gcc/fortran/parse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index a0da448..87f36df 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -334,6 +334,10 @@ next_free (void) do c = gfc_next_char (); while (ISDIGIT(c)); + + if (!gfc_is_whitespace (c)) + gfc_error_now ("Non-numeric character in statement label at %C"); + } else { |