aboutsummaryrefslogtreecommitdiffstats
path: root/Scanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'Scanner.h')
-rw-r--r--Scanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scanner.h b/Scanner.h
index 5b90a94e..d93b79df 100644
--- a/Scanner.h
+++ b/Scanner.h
@@ -119,6 +119,7 @@ public:
{
return m_currentToken.token;
}
+
Location getCurrentLocation() const { return m_currentToken.location; }
std::string const& getCurrentLiteral() const { return m_currentToken.literal; }
///@}