summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-10-20 20:41:03 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-10-20 20:41:03 +0000
commit93e8bc35db891c6041f9690366be933433a0ad52 (patch)
treee946c0824d6d91c44ecc97a627411e5d6c334ea9 /src/parser/parser.h
parentdaad722774087de1cf35714868d3762b3ea7cb21 (diff)
Adding support for interactive mode
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index 4d1e64176..280bd3c97 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -160,12 +160,6 @@ public:
return d_input;
}
- /** Set the declaration scope manager for this input. NOTE: This should <em>only</me> be
- * called before parsing begins. Otherwise, previous declarations will be lost. */
-/* inline void setDeclarationScope(DeclarationScope declScope) {
- d_declScope = declScope;
- }*/
-
/**
* Check if we are done -- either the end of input has been reached, or some
* error has been encountered.
@@ -189,7 +183,8 @@ public:
/** Enable strict parsing, according to the language standards. */
void enableStrictMode() { d_strictMode = true; }
- /** Disable strict parsing. Allows certain syntactic infelicities to pass without comment. */
+ /** Disable strict parsing. Allows certain syntactic infelicities to
+ pass without comment. */
void disableStrictMode() { d_strictMode = false; }
bool strictModeEnabled() { return d_strictMode; }
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback