projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
model: fix the maxreads support
[cdsspec-compiler.git]
/
nodestack.cc
diff --git
a/nodestack.cc
b/nodestack.cc
index 71af6ef246314b0a40d373c7388418c5f4a01c82..a9399edbe9a35cd28328e438a8ce6e23c8cebeb3 100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-225,6
+225,10
@@
int Node::get_read_from_size() {
return may_read_from.size();
}
+const ModelAction * Node::get_read_from_at(int i) {
+ return may_read_from[i];
+}
+
/**
* Gets the next 'may_read_from' action from this Node. Only valid for a node
* where this->action is a 'read'.