aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-14 11:12:40 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-14 11:12:40 -0700
commit7a75e7341b9a7287681fa0a850365a50ab6a993b (patch)
treef7c8bfd83445c18aad1c011b8f0320406dae47fe /parser.cpp
parentec6dee8bd18b3469d56bd2ed60fd6b029bf6fb6c (diff)
Eliminate the parser_use_ast switch, which does nothing, and
exec_no_exec, which also does nothing in the new parser
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/parser.cpp b/parser.cpp
index ec0f2256..eebab349 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -1205,16 +1205,3 @@ scope_block_t::scope_block_t(block_type_t type) : block_t(type)
breakpoint_block_t::breakpoint_block_t() : block_t(BREAKPOINT)
{
}
-
-bool parser_use_ast(void)
-{
- env_var_t var = env_get_string(L"fish_new_parser");
- if (var.missing_or_empty())
- {
- return 1;
- }
- else
- {
- return from_string<bool>(var);
- }
-}