aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.cpp
diff options
context:
space:
mode:
authorGravatar Geoff Nixon <geoff.nixon@aol.com>2014-02-27 02:55:04 -0800
committerGravatar Geoff Nixon <geoff.nixon@aol.com>2014-02-27 06:23:40 -0800
commit18dd6f58e3b9bc44d9850947bdb3f17c2f05f2cf (patch)
treea9cecef0c6d630ab11ccfa02c466a236d6d2126b /parser.cpp
parentddcd2b0810087394d17bd80c46d74cca0acd8924 (diff)
Fixes .c -> .cpp in comments. For doxygen.
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/parser.cpp b/parser.cpp
index 9435d3d1..69ff0236 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -1,4 +1,4 @@
-/** \file parser.c
+/** \file parser.cpp
The fish parser. Contains functions for parsing and evaluating code.
@@ -2590,9 +2590,6 @@ int parser_t::eval_new_parser(const wcstring &cmd, const io_chain_t &io, enum bl
parse_execution_context_t *ctx = new parse_execution_context_t(tree, cmd, this, exec_eval_level);
execution_contexts.push_back(ctx);
- /* Execute the first node */
- int result = 1;
-
/* Clean up the execution context stack */
assert(! execution_contexts.empty() && execution_contexts.back() == ctx);
execution_contexts.pop_back();