Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify directive not recognized in a fixed form test #10

Closed
zeuk opened this issue Jun 17, 2017 · 0 comments · Fixed by #12
Closed

Verify directive not recognized in a fixed form test #10

zeuk opened this issue Jun 17, 2017 · 0 comments · Fixed by #12

Comments

@zeuk
Copy link

zeuk commented Jun 17, 2017

$ build/bin/flang  -fsyntax-only -verify test/Parser/assignedGoto.f
<unknown>:0: error: no expected directives found: consider use of 'expected-no-diagnostics'
test/Parser/assignedGoto.f:8:17: error: expected 'to'
       ASSIGN100
                ^

There is a verify directive there, but it is not recognized. It is the only test that tries to put a verify directive in a fixed-form comment.

zeuk added a commit to zeuk/flang that referenced this issue Sep 23, 2017
lib/Parse/Lexer.cpp: stop skipping fixed-form comments in GetNextLine
and process them in LexTokenInternal instead. Calling LexComment is
required to get verify directives to work.

Closes llvm-flang#10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant