diff options
Diffstat (limited to 'liblangutil/ParserBase.h')
-rw-r--r-- | liblangutil/ParserBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liblangutil/ParserBase.h b/liblangutil/ParserBase.h index 0007da63..f6315351 100644 --- a/liblangutil/ParserBase.h +++ b/liblangutil/ParserBase.h @@ -39,7 +39,7 @@ public: explicit ParserBase(ErrorReporter& errorReporter): m_errorReporter(errorReporter) {} std::shared_ptr<std::string const> const& sourceName() const; - CharStream const* charStream() const { return &m_scanner->charStream(); } + std::shared_ptr<CharStream> source() const { return m_scanner->charStream(); } protected: /// Utility class that creates an error and throws an exception if the |