aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/AsmParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/AsmParser.h')
-rw-r--r--libyul/AsmParser.h6
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();