comparison Implab/Formats/JSON/JSONGrammar.cs @ 181:b2b6a6640aa3 ref20160224

minor fixes and debug
author cin
date Thu, 24 Mar 2016 03:54:46 +0300
parents c32688129f14
children 76e8f2ba12b8
comparison
equal deleted inserted replaced
180:c32688129f14 181:b2b6a6640aa3
106 return m_stringExpression; 106 return m_stringExpression;
107 } 107 }
108 } 108 }
109 109
110 Token SymbolRangeToken(char start, char stop) { 110 Token SymbolRangeToken(char start, char stop) {
111 return SymbolToken(Enumerable.Range(start,stop - start).Cast<char>()); 111 return SymbolToken(Enumerable.Range(start,stop - start).Select(x => (char)x));
112 } 112 }
113 113
114 protected override IndexedAlphabetBase<char> CreateAlphabet() { 114 protected override IndexedAlphabetBase<char> CreateAlphabet() {
115 return new CharAlphabet(); 115 return new CharAlphabet();
116 } 116 }