1 28 29 package org.objectweb.util.cpp.lib; 30 31 import org.objectweb.util.cpp.api.Preprocessor; 32 33 40 41 public class OptionP 42 extends PreprocessorOptionBase 43 { 44 50 56 61 public OptionP(Preprocessor preprocessor) { 62 setLabels(new String [] { "-P" }); 63 setDescription(new String [] { "Inhibit generation of #-lines with line-number information"}); 64 setPreprocessor(preprocessor); 65 } 66 67 73 79 85 91 96 public String getBaseOptionLabel() { 97 return "-P"; 98 } 99 100 105 public void consumeOption(String current) { 106 getPreprocessor().setGenerateLineInformation(true); 107 } 108 109 } 115 | Popular Tags |