1 28 29 package org.objectweb.util.cpp.lib; 30 31 import org.objectweb.util.cpp.api.Preprocessor; 32 33 41 public class OptionUNAME 42 extends PreprocessorOptionBase 43 { 44 50 56 61 public OptionUNAME(Preprocessor preprocessor) { 62 setLabels(new String [] { "-UNAME" }); 63 setDescription(new String [] { "Remove any definition for NAME" }); 64 setPreprocessor(preprocessor); 65 } 66 67 73 79 85 91 96 public String getBaseOptionLabel() { 97 return "-U"; 98 } 99 100 105 public void consumeOption(String current) { 106 getPreprocessor().removeMacro(current); 108 } 109 110 } 116 | Popular Tags |