lib/rley/gfg/item_vertex.rb in rley-0.7.00 vs lib/rley/gfg/item_vertex.rb in rley-0.7.01
- old
+ new
@@ -28,10 +28,12 @@
# Set the "shortcut" edge.
# @param aShortcut [ShortcutEdge] the "shortcut" edge.
def shortcut=(aShortcut)
unless aShortcut.kind_of?(ShortcutEdge)
raise StandardError, 'Invalid shortcut argument'
+
end
+
=begin
unless next_symbol && next_symbol.kind_of?(Syntax::NonTerminal)
raise StandardError, 'Invalid shortcut usage'
end