aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/TGSourceMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/TGSourceMgr.cpp')
-rw-r--r--utils/TableGen/TGSourceMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TGSourceMgr.cpp b/utils/TableGen/TGSourceMgr.cpp
index e4d1c40dc6..42bc75246c 100644
--- a/utils/TableGen/TGSourceMgr.cpp
+++ b/utils/TableGen/TGSourceMgr.cpp
@@ -98,7 +98,7 @@ void TGSourceMgr::PrintError(TGLoc ErrorLoc, const std::string &Msg) const {
++LineEnd;
// Print out the line.
OS << std::string(LineStart, LineEnd) << "\n";
- // Print out spaces before the carat.
+ // Print out spaces before the caret.
for (const char *Pos = LineStart; Pos != ErrorLoc.getPointer(); ++Pos)
OS << (*Pos == '\t' ? '\t' : ' ');
OS << "^\n";