story-gen 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/story/compile.rb +1 -1
- metadata +1 -1
data/lib/story/compile.rb
CHANGED
|
@@ -737,7 +737,7 @@ class Story
|
|
|
737
737
|
|
|
738
738
|
rule :fact_expr_select do
|
|
739
739
|
#
|
|
740
|
-
operand = lambda { _{ var } or _{ value } }
|
|
740
|
+
operand = lambda { _{ var } or _{ value } or _{ above_var } }
|
|
741
741
|
#
|
|
742
742
|
v1 = operand.() and op = comparison_op and v2 = operand.() and
|
|
743
743
|
_(FactExpr::Select[v1, op, v2])
|