summaryrefslogtreecommitdiff
path: root/gcc/gengtype-state.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gengtype-state.c')
-rw-r--r--gcc/gengtype-state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gengtype-state.c b/gcc/gengtype-state.c
index fda473a2dbe..ef7713ff06a 100644
--- a/gcc/gengtype-state.c
+++ b/gcc/gengtype-state.c
@@ -2651,7 +2651,7 @@ read_state_files_list (void)
"expecting file in !fileslist of state file");
};
t0 = peek_state_token (0);
- if (!state_token_kind (t0) == STOK_RIGHTPAR)
+ if (state_token_kind (t0) != STOK_RIGHTPAR)
fatal_reading_state (t0, "missing ) for !fileslist in state file");
next_state_tokens (1);
}