File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -635,27 +635,27 @@ static get_char_t skip_inline_asm(parser_t *p, bool underscore)
635635 get_char_t ch ;
636636
637637 ch = get_char (p );
638+ if (UNLIKELY (ch == PARSER_EOF ))
639+ return ch ;
638640 if (ch != 's' )
639641 goto check_s_failed ;
642+ ch = get_char (p );
640643 if (UNLIKELY (ch == PARSER_EOF ))
641644 return ch ;
642- ch = get_char (p );
643645 if (ch != 'm' )
644646 goto check_m_failed ;
645- if (UNLIKELY (ch == PARSER_EOF ))
646- return ch ;
647647
648648 if (underscore ) {
649649 ch = get_char (p );
650+ if (UNLIKELY (ch == PARSER_EOF ))
651+ return ch ;
650652 if (ch != '_' )
651653 goto not_wrapped ;
654+ ch = get_char (p );
652655 if (UNLIKELY (ch == PARSER_EOF ))
653656 return ch ;
654- ch = get_char (p );
655657 if (ch != '_' )
656658 goto check_underline_failed ;
657- if (UNLIKELY (ch == PARSER_EOF ))
658- return ch ;
659659 }
660660not_wrapped :
661661
You can’t perform that action at this time.
0 commit comments