diff options
Diffstat (limited to 'libyul/AsmParser.h')
-rw-r--r-- | libyul/AsmParser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libyul/AsmParser.h b/libyul/AsmParser.h index cea3b667..52166a20 100644 --- a/libyul/AsmParser.h +++ b/libyul/AsmParser.h @@ -56,11 +56,11 @@ protected: r.location.start = position(); r.location.end = endPosition(); } - if (!r.location.sourceName) - r.location.sourceName = sourceName(); + if (!r.location.source) + r.location.source = m_scanner->charStream(); return r; } - langutil::SourceLocation location() const { return {position(), endPosition(), sourceName()}; } + langutil::SourceLocation location() const { return {position(), endPosition(), m_scanner->charStream()}; } Block parseBlock(); Statement parseStatement(); |