diff options
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 9cf63d8..0f2ee16 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1433,7 +1433,7 @@ yylex () { lexptr += 2; yylval.opcode = tokentab2[i].opcode; - if (in_parse_field && tokentab2[i].opcode == ARROW) + if (in_parse_field && tokentab2[i].token == ARROW) last_was_structop = 1; return tokentab2[i].token; } |