diff Implab/Automaton/DFATable.cs @ 229:5f7a3e1d32b9 v2

JsonXmlReader performance tuning JsonScanner now operates strings and doesn't parses number and literals. Added SerializationHelpers to common serialize/deserialize operations
author cin
date Tue, 12 Sep 2017 19:07:42 +0300
parents 4f82e0f161c3
children 302ca905c19e
line wrap: on
line diff
--- a/Implab/Automaton/DFATable.cs	Tue Sep 12 01:19:12 2017 +0300
+++ b/Implab/Automaton/DFATable.cs	Tue Sep 12 19:07:42 2017 +0300
@@ -119,7 +119,7 @@
                     table[i, j] = AutomatonConst.UNREACHABLE_STATE;
 
             foreach (var t in this)
-                table[t.s1,t.edge] = t.s2;
+                table[t.s1,t.edge] = (byte)t.s2;
 
             return table;
         }