summaryrefslogtreecommitdiff
path: root/Shell/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Shell/Parser.cpp')
-rw-r--r--Shell/Parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Shell/Parser.cpp b/Shell/Parser.cpp
index d0eccb2867..16e33790ad 100644
--- a/Shell/Parser.cpp
+++ b/Shell/Parser.cpp
@@ -524,6 +524,7 @@ RefPtr<AST::Node> Parser::parse_redirection()
return create<AST::ReadWriteRedirection>(pipe_fd, move(path)); // Redirection ReadWrite
}
default:
+ m_offset = rule_start->offset;
return nullptr;
}
}