1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  package com.github.maven_nar.cpptasks.compiler;
21  
22  import java.io.File;
23  
24  import org.apache.tools.ant.types.Environment;
25  
26  import com.github.maven_nar.cpptasks.parser.CParser;
27  import com.github.maven_nar.cpptasks.parser.Parser;
28  
29  
30  
31  
32  
33  
34  
35  public abstract class CommandLineCCompiler extends CommandLineCompiler {
36    protected CommandLineCCompiler(final String command, final String identifierArg, final String[] sourceExtensions,
37        final String[] headerExtensions, final String outputSuffix, final boolean libtool,
38        final CommandLineCCompiler libtoolCompiler, final boolean newEnvironment, final Environment env) {
39      super(command, identifierArg, sourceExtensions, headerExtensions, outputSuffix, libtool, libtoolCompiler,
40          newEnvironment, env);
41    }
42  
43    @Override
44    protected Parser createParser(final File source) {
45      return new CParser();
46    }
47  }