diff Implab/Formats/JSON/JSONGrammar.cs @ 182:76e8f2ba12b8 ref20160224

pretty print DFA, the minimization is still buggy
author cin
date Thu, 24 Mar 2016 18:52:10 +0300
parents b2b6a6640aa3
children 4f82e0f161c3
line wrap: on
line diff
--- a/Implab/Formats/JSON/JSONGrammar.cs	Thu Mar 24 03:54:46 2016 +0300
+++ b/Implab/Formats/JSON/JSONGrammar.cs	Thu Mar 24 18:52:10 2016 +0300
@@ -108,7 +108,7 @@
         }
 
         Token SymbolRangeToken(char start, char stop) {
-            return SymbolToken(Enumerable.Range(start,stop - start).Select(x => (char)x));
+            return SymbolToken(Enumerable.Range(start, stop - start + 1).Select(x => (char)x));
         }
 
         protected override IndexedAlphabetBase<char> CreateAlphabet() {