139140141142143144145146147148149
String sourceName = source.getName(); int lastDot = sourceName.lastIndexOf('.'); if (lastDot >= 0 && lastDot + 1 < sourceName.length()) { char afterDot = sourceName.charAt(lastDot + 1); if (afterDot == 'f' || afterDot == 'F') { return new FortranParser(); } } } return new CParser(); }
69707172737475
* Create dependency parser. * @param source File source file * @return Parser parser */ public Parser createParser(final File source) { return new FortranParser(); }
162163164165166167168169170171172
35363738394041
Environment env) { super(command, identifierArg, sourceExtensions, headerExtensions, outputSuffix, libtool, libtoolCompiler, newEnvironment, env); } protected Parser createParser(File source) { return new FortranParser(); }
141142143144145146147148149150151