protected void warning(int line,int column,String msg) throws LexerException {
  if (warnings.contains(Warning.ERROR))   error(line,column,msg);
 else   if (listener != null)   listener.handleWarning(source,line,column,msg);
 else   throw new LexerException("Warning at " + line + ":"+ column+ ": "+ msg);
}

protected void warning ( int line , int column , String msg ) throws LexerException { if ( warnings . contains ( Warning . ERROR ) ) error ( line , column , msg ) ; else if ( listener != null ) listener . handleWarning ( source , line , column , msg ) ; else throw new LexerException ( "Warning at " + line + ":" + column + ": " + msg ) ; }
handles a warning . if a preprocessorlistener is installed , it receives the warning . otherwise , an exception is thrown .
