Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] PLDT build errors

> ASTExecutableProgramNode ast = new Parser().parse(
>     new ASTLexerFactory().createLexer(file, SourceForm.of(file)));

Actually, you can just use

ASTExecutableProgramNode ast = new Parser().parse(new ASTLexerFactory().createLexer(file));

The SourceForm part was redundant.  Sorry.

Jeff


Back to the top