Unified · Split
| @@ -971,9 +971,9 @@ redo_start: · 970 unmodified lines | ||
| 971 | 971 | else if (tok == TOK_LINEFEED) |
| 972 | 972 | goto redo_start; |
| 973 | 973 | else if (parse_flags & PARSE_FLAG_ASM_FILE) |
| 974 | − p = parse_line_comment(p); | |
| 974 | + p = parse_line_comment(p - 1); | |
| 975 | 975 | } else if (parse_flags & PARSE_FLAG_ASM_FILE) |
| 976 | − p = parse_line_comment(p); | |
| 976 | + p = parse_line_comment(p - 1); | |
| 977 | 977 | break; |
| 978 | 978 | _default: |
| 979 | 979 | default: |
| @@ -1954,7 +1954,7 @@ _line_num: · 974 unmodified lines | ||
| 1954 | 1954 | goto ignore; |
| 1955 | 1955 | tcc_warning("Ignoring unknown preprocessing directive #%s", get_tok_str(tok, &tokc)); |
| 1956 | 1956 | ignore: |
| 1957 | − file->buf_ptr = parse_line_comment(file->buf_ptr); | |
| 1957 | + file->buf_ptr = parse_line_comment(file->buf_ptr - 1); | |
| 1958 | 1958 | goto the_end; |
| 1959 | 1959 | } |
| 1960 | 1960 | /* ignore other preprocess commands or #! for C scripts */ |