diff Implab/JSON/JSONScanner.cs @ 158:130781364799 v2

refactoring, code cleanup
author cin
date Thu, 18 Feb 2016 14:34:02 +0300
parents 10c7337d29e7
children
line wrap: on
line diff
--- a/Implab/JSON/JSONScanner.cs	Thu Feb 18 11:03:47 2016 +0300
+++ b/Implab/JSON/JSONScanner.cs	Thu Feb 18 14:34:02 2016 +0300
@@ -19,7 +19,7 @@
         /// Создает новый экземпляр сканнера
         /// </summary>
         public JSONScanner()
-            : base(JSONGrammar.Instance.JsonDFA) {
+            : base(JSONGrammar.Instance.JsonDFA.States, JSONGrammar.Instance.JsonDFA.Alphabet.GetTranslationMap()) {
             m_stringBuffer = new char[1024];
             var dfa = JSONGrammar.Instance.JsonStringDFA;
             m_stringAlphabet = dfa.Alphabet.GetTranslationMap();