File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
test/libyul/yulSyntaxTests/invalid Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,10 @@ class Parser: public langutil::ParserBase
9797protected:
9898 langutil::SourceLocation currentLocation () const override
9999 {
100- if (m_useSourceLocationFrom == UseSourceLocationFrom::Scanner)
101- return ParserBase::currentLocation ();
102- return m_locationOverride;
100+ if (m_useSourceLocationFrom == UseSourceLocationFrom::LocationOverride)
101+ return m_locationOverride;
102+
103+ return ParserBase::currentLocation ();
103104 }
104105
105106 langutil::Token advance () override ;
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ object "C" {
55 }
66}
77// ----
8- // ParserError 6913: Call or assignment expected.
8+ // ParserError 6913: (65-66): Call or assignment expected.
99// ParserError 2314: (67-68): Expected end of source but got '}'
You can’t perform that action at this time.
0 commit comments