throw new FileNotFoundException("Input file not found: " + filename);
}
Conditional<LexerFrontend.LexerResult> output = null;
String error = null;
LexerException ex = null;
try {
//getResource() returns an URL containing escapes. toURI().getPath() is needed to unescape them.
//Otherwise one gets a path where, e.g., spaces are represented by %20!
output = lex(new VALexer.StreamSource(inputStream, inputURI.getFile()),
debug, getClass().getResource("/" + folder).toURI().getPath(), ignoreWarning);