mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-26 13:26:22 +00:00

If the label field is empty, and macro replacement occurs, the rescanned text might be misclassified as a comment card if it happens to begin with a C or a D. Insert a leading space into these otherwise empty label fields. Fixes https://bugs.llvm.org/show_bug.cgi?id=47173
8 lines
222 B
Fortran
8 lines
222 B
Fortran
! RUN: %f18 -E %s | FileCheck %s
|
|
! CHECK: callbar
|
|
! Ensure that rescanned lines after macro replacement are not
|
|
! misinterpreted as fixed-form comments when they start with C or D.
|
|
#define foo bar
|
|
call foo
|
|
end
|