projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d807a12
)
nodestack: add const
author
Brian Norris
<banorris@uci.edu>
Wed, 23 Jan 2013 19:10:20 +0000
(11:10 -0800)
committer
Brian Norris
<banorris@uci.edu>
Wed, 23 Jan 2013 19:10:20 +0000
(11:10 -0800)
nodestack.cc
patch
|
blob
|
history
nodestack.h
patch
|
blob
|
history
diff --git
a/nodestack.cc
b/nodestack.cc
index e0800156f56178a0cfa5f69d4ad1026a316460f8..404339b6ebcf033b96b55f6b66aa4832c4dc1259 100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-90,7
+90,7
@@
Node::~Node()
}
/** Prints debugging info for the ModelAction associated with this Node */
-void Node::print()
+void Node::print()
const
{
action->print();
model_print(" backtrack: %s", backtrack_empty() ? "empty" : "non-empty ");
diff --git
a/nodestack.h
b/nodestack.h
index 13c6d09a7c7c39b88ef903012dd91449e37c7239..7e88912e3e071de7f47e5a139e105a5a61d11869 100644
(file)
--- a/
nodestack.h
+++ b/
nodestack.h
@@
-99,7
+99,7
@@
public:
bool increment_relseq_break();
bool relseq_break_empty() const;
- void print();
+ void print()
const
;
void print_may_read_from();
MEMALLOC