diff --git a/sly/parser/generator/ParserBuilder.cs b/sly/parser/generator/ParserBuilder.cs index dca6a1d4..8ae64de5 100644 --- a/sly/parser/generator/ParserBuilder.cs +++ b/sly/parser/generator/ParserBuilder.cs @@ -26,7 +26,7 @@ public class ParserBuilder where IN : struct public string I18n { get; set; } - public ParserBuilder(string i18n = null) + public ParserBuilder(string i18n) { if (string.IsNullOrEmpty(i18n)) { @@ -34,6 +34,10 @@ public ParserBuilder(string i18n = null) } I18n = i18n; } + + public ParserBuilder() : this(null) + { + } /// /// Builds a parser (lexer, syntax parser and syntax tree visitor) according to a parser definition instance diff --git a/sly/sly.csproj b/sly/sly.csproj index 2c9dcf57..d31c86f5 100644 --- a/sly/sly.csproj +++ b/sly/sly.csproj @@ -6,11 +6,11 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb #LY is a parser generator halfway between parser combinators and parser generator like ANTLR b3b00 - 2.7.0.0 + 2.7.0.1 https://github.com/b3b00/sly https://github.com/b3b00/sly https://github.com/b3b00/sly/blob/master/LICENSE - 2.7.0.0 + 2.7.0.1 Library