summaryrefslogtreecommitdiff
path: root/ELF/ScriptLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/ScriptLexer.h')
-rw-r--r--ELF/ScriptLexer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ELF/ScriptLexer.h b/ELF/ScriptLexer.h
index 64d6d9204864..e7c8b28e49fd 100644
--- a/ELF/ScriptLexer.h
+++ b/ELF/ScriptLexer.h
@@ -10,7 +10,7 @@
#ifndef LLD_ELF_SCRIPT_LEXER_H
#define LLD_ELF_SCRIPT_LEXER_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include <utility>
@@ -39,7 +39,6 @@ public:
std::vector<StringRef> Tokens;
bool InExpr = false;
size_t Pos = 0;
- bool Error = false;
private:
void maybeSplitExpr();