diff --git a/ssc/import resolver.cs b/ssc/import resolver.cs index f9a8ee6..b292494 100644 --- a/ssc/import resolver.cs +++ b/ssc/import resolver.cs @@ -121,7 +121,7 @@ namespace arookas { mStream.Dispose(); } - public TextReader GetReader() { + public TextReader CreateReader() { return new StreamReader(mStream); } } diff --git a/ssc/parser.cs b/ssc/parser.cs index e7579c3..8afe094 100644 --- a/ssc/parser.cs +++ b/ssc/parser.cs @@ -13,7 +13,7 @@ namespace arookas { }; public sunNode Parse(sunScriptFile file) { - using (var input = file.GetReader()) { + using (var input = file.CreateReader()) { try { var parser = new __sunParser(input); var node = parser.Parse();