Skip to content

Commit

Permalink
Merge pull request #140 from magne/parser-configure-lexer
Browse files Browse the repository at this point in the history
Allow subclasses of ParserBuilder to override BuildLexer()
  • Loading branch information
b3b00 authored Dec 3, 2019
2 parents 0d75f92 + bed23b1 commit 01d016d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sly/parser/generator/ParserBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private Tuple<string, string> ExtractNTAndRule(string ruleString)
}


protected BuildResult<ILexer<IN>> BuildLexer()
protected virtual BuildResult<ILexer<IN>> BuildLexer()
{
var lexer = LexerBuilder.BuildLexer(new BuildResult<ILexer<IN>>());
return lexer;
Expand Down

0 comments on commit 01d016d

Please sign in to comment.