projects
/
sbp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57e738
)
add intermediate result between a Node and the "also"s it spawns
author
adam
<adam@megacz.com>
Mon, 26 Feb 2007 01:24:06 +0000
(20:24 -0500)
committer
adam
<adam@megacz.com>
Mon, 26 Feb 2007 01:24:06 +0000
(20:24 -0500)
darcs-hash:
20070226012406
-5007d-
162be5177239df1a2e10d98b1eab7fe8dae335bd
.gz
src/edu/berkeley/sbp/Node.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/sbp/Node.java
b/src/edu/berkeley/sbp/Node.java
index
8710863
..
b360071
100644
(file)
--- a/
src/edu/berkeley/sbp/Node.java
+++ b/
src/edu/berkeley/sbp/Node.java
@@
-76,7
+76,7
@@
final class Node
phase.hash.put(state, result.phase(), this);
for(Object s : state.also)
- phase.newNode(result, (State)s, fromEmptyReduction);
+ phase.newNode(new Result(null, this, null), (State)s, fromEmptyReduction);
state.invokeReductions(phase().token, this, true, null);
if (!fromEmptyReduction)