[CMake] Compiling fortran

Juan Sanchez Juan.Sanchez at amd.com
Wed Sep 26 12:04:20 EDT 2007


Anyone know what are the valid comment lines in all the Fortran variants?

I know of lines beginning with c, C, or * in the first column.

Juan

Bill Hoffman wrote:
> Juan Sanchez wrote:
>> Hi Bill,
>>
>> I wouldn't mind taking a stab at it.
>>
>> It would be easy enough to tell lex to drop any line starting with a
>> comment character.  Something along the lines of:
>>
>> ^[cC].* {}
>>
>> There seems to be a line in the lexer that does this, but it doesn't
>> appear that that the start condition, fixed_fmt, is ever activated.
>>
>> <fixed_fmt>^[cC*dD].*\n { return EOSTMT; } /* empty lines */
>>
>> Do you have any info about how to make submissions and getting the
>> latest CVS?
>>   
> Instructions for CVS are here:
> 
> http://www.cmake.org/HTML/Download.html#cvs
> 
> If you get it working, just attach the patch to CVS CMake to the bug in 
> the bug tracker.
> 
> -Bill
> 
> 
> 


-- 
Juan Sanchez
Juan.Sanchez at amd.com
800-538-8450 Ext. 54395
512-602-4395




More information about the CMake mailing list