| Summary: | syntax error caused by preprocessor macro | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Missing name <rohou> | ||||
| Component: | Photran.Editor & Outline View | Assignee: | Jeffrey Overbey <com-eclipse-dot-org> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | com-eclipse-dot-org, rohou | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Missing name
Created attachment 189388 [details]
Reproducer
Hi Alexis, I tried this in Photran 6.0 and 7.0. I think the problem is that you're using a .f90 extension, which is *unpreprocessed* free form. If you change the filename extension to .F90 (capital F), it will be treated as C preprocessed free form and will parse correctly. Alternately, you can change the source form settings in the project properties (right-click the project > Properties > Fortran > Source Form) to associate C preprocessed free form with the .f90 (lowercase f) filename extension. Hope this helps. Jeff Thanks - I can confirm that 1. I didn't pay attention to the capitalisation 2. Your fixes work 3. There was never a bug in the first place. Oops - sorry about that. Thanks a lot! Not a problem; glad to help :-) |