aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-26 12:24:00 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-26 12:24:00 -0800
commit924b8cbe24023985d7bafcec7b79303e2e7cc2e4 (patch)
treea347fbe0c992ffb403d1ecbc20390e4db18a22a4 /parser.h
parent5b1a53265233f837e272aa0936267e04c8848856 (diff)
New ideas about how to use new parser for execution. Beginnings of
implementation.
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index cdb4b590..13adfc71 100644
--- a/parser.h
+++ b/parser.h
@@ -466,6 +466,9 @@ public:
/** Remove the outermost block namespace */
void pop_block();
+
+ /** Remove the outermost block, asserting it's the given one */
+ void pop_block(const block_t *b);
/** Return a description of the given blocktype */
const wchar_t *get_block_desc(int block) const;