-
- Downloads
cmFortranParser: Parse #line directives
Teach the lexer to extract the #line directive prefix and line number as a new token type. Teach the parser to recognize this token followed by a string as the file name (plus possibly other content). Report the named file as included by the source file.
Showing
- Source/cmFortranLexer.cxx 307 additions, 289 deletionsSource/cmFortranLexer.cxx
- Source/cmFortranLexer.h 10 additions, 6 deletionsSource/cmFortranLexer.h
- Source/cmFortranLexer.in.l 2 additions, 1 deletionSource/cmFortranLexer.in.l
- Source/cmFortranParser.cxx 247 additions, 226 deletionsSource/cmFortranParser.cxx
- Source/cmFortranParser.h 2 additions, 0 deletionsSource/cmFortranParser.h
- Source/cmFortranParser.y 9 additions, 1 deletionSource/cmFortranParser.y
- Source/cmFortranParserImpl.cxx 26 additions, 0 deletionsSource/cmFortranParserImpl.cxx
- Source/cmFortranParserTokens.h 55 additions, 53 deletionsSource/cmFortranParserTokens.h
Loading
Please register or sign in to comment