diff Implab/Formats/InputScanner.cs @ 236:302ca905c19e v2

JsonReader optimizations
author cin
date Tue, 21 Nov 2017 14:57:58 +0300
parents 5f7a3e1d32b9
children
line wrap: on
line diff
--- a/Implab/Formats/InputScanner.cs	Thu Oct 05 09:24:49 2017 +0300
+++ b/Implab/Formats/InputScanner.cs	Tue Nov 21 14:57:58 2017 +0300
@@ -69,7 +69,7 @@
 
             while(offset < max) {
                 next = m_dfa[next, m_alphabet.Translate(data[offset])];
-                if (next == AutomatonConst.UNREACHABLE_STATE) {
+                if (next == AutomatonConst.UnreachableState) {
                     // scanner stops on the next position after last recognized symbol
                     m_position = offset;
                     return false;