summaryrefslogtreecommitdiff
path: root/gcc/fortran/error.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-19 13:39:00 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-19 13:39:00 +0000
commit1e1d6495ab43ad83d7021ace50448ebb72444bf1 (patch)
tree838e12db256b9be4be6d0a7668e86a958d4fd5bd /gcc/fortran/error.c
parentb5f0a1548adcd4b97ba70236ed9b37512cea6add (diff)
downloadgcc-1e1d6495ab43ad83d7021ace50448ebb72444bf1.tar.gz
2012-09-19 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 191468 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@191473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/error.c')
-rw-r--r--gcc/fortran/error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c
index 64b9357a215..4b061560c0e 100644
--- a/gcc/fortran/error.c
+++ b/gcc/fortran/error.c
@@ -544,7 +544,8 @@ error_print (const char *type, const char *format0, va_list argp)
gcc_assert (pos >= 0);
while (ISDIGIT(*format))
format++;
- gcc_assert (*format++ == '$');
+ gcc_assert (*format == '$');
+ format++;
}
else
pos++;