| Summary: | A declaration is not parsed correctly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Stas Negara <snegara2> | ||||
| Component: | Photran.For Internal Use | Assignee: | Jeffrey Overbey <com-eclipse-dot-org> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | com-eclipse-dot-org, snegara2 | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 7.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Stas Negara
Created attachment 189333 [details]
Fortran source code that reveals the parser's problem.
The problem seems to be that the lexer is never exiting the IMPLICIT state, and so the "(n)" suffix on the variable declaration is being recognized as a T_X_IMPL (implicit spec) token. This is fixed. I'll commit the change to HEAD later today/tonight. |