diff mbox

[1/1] parser: add support for asm goto

Message ID 4C1B2E77.3090404@suse.cz (mailing list archive)
State Mainlined, archived
Headers show

Commit Message

Jiri Slaby June 18, 2010, 8:29 a.m. UTC
None
diff mbox

Patch

diff --git a/parse.c b/parse.c
index caf10b9..1d20658 100644
--- a/parse.c
+++ b/parse.c
@@ -1915,7 +1915,8 @@  static struct token *parse_asm_statement(struct
token *token, struct statement *
        stmt->type = STMT_ASM;
        if (match_idents(token, &__volatile___ident, &__volatile_ident,
&volatile_ident, NULL)) {
                token = token->next;
-       } else if (match_idents(token, &goto_ident, NULL)) {
+       }
+       if (match_idents(token, &goto_ident, NULL)) {
                is_goto = 1;