diff Implab/Parsing/DFABuilder.cs @ 156:97fbbf816844 v2

Promises: SignalXXX methods merged into SignalHandler method. Components: RunnableComponent In progress
author cin
date Mon, 15 Feb 2016 04:22:15 +0300
parents c0bf853aa04f
children 130781364799
line wrap: on
line diff
--- a/Implab/Parsing/DFABuilder.cs	Fri Feb 12 16:24:24 2016 +0300
+++ b/Implab/Parsing/DFABuilder.cs	Mon Feb 15 04:22:15 2016 +0300
@@ -166,7 +166,7 @@
 
         int[] GetStateTags(HashSet<int> state) {
             Debug.Assert(state != null);
-            return state.Where(pos => m_ends.ContainsKey(pos)).Select(pos => m_ends[pos]).ToArray();
+            return state.Where(m_ends.ContainsKey).Select(pos => m_ends[pos]).ToArray();
         }
 
         int DefineState(IDFADefinition automa, HashSet<int> state) {