diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-10-02 11:50:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-02 11:50:17 -0400 |
commit | 99e6a6639efa5d2113fe2787e5be4f0d98f0bf78 (patch) | |
tree | aed3fe304abc22c33c6e4c3e1ca1f233f8b37afc /tools/preproc/asm_file.cpp | |
parent | dcd7c8a2412bf389b694b47892085b7684bca15e (diff) | |
parent | 1bd678656c735bbeb603ccb80367c7a85f820f61 (diff) |
Merge branch 'master' into debug-english
Diffstat (limited to 'tools/preproc/asm_file.cpp')
-rw-r--r-- | tools/preproc/asm_file.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/preproc/asm_file.cpp b/tools/preproc/asm_file.cpp index 383010aa3..98805c952 100644 --- a/tools/preproc/asm_file.cpp +++ b/tools/preproc/asm_file.cpp @@ -475,9 +475,11 @@ void AsmFile::ExpectEmptyRestOfLine() m_lineStart = m_pos; m_lineNum++; } - else if (m_buffer[m_pos] == '\r') + else if (m_buffer[m_pos] == '\r' && m_buffer[m_pos + 1] == '\n') { - RaiseError("only Unix-style LF newlines are supported"); + m_pos += 2; + m_lineStart = m_pos; + m_lineNum++; } else { |