Skip to content

Commit cf1f3db

Browse files
committed
Added line number info in error messages
1 parent cbafb4f commit cf1f3db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fast++-read_input.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,14 +1657,14 @@ bool read_lir(const options_t& opts, input_state_t& state) {
16571657
} else if (scomp == "cirrus") {
16581658
comp = lir_component::cirrus;
16591659
} else {
1660-
error("unknown LIR component '", spl[col_comp], "'");
1660+
error("unknown LIR component '", spl[col_comp], "' on line ", l);
16611661
note("allowed values are 'all', 'bc', or 'cirrus'");
16621662
return false;
16631663
}
16641664

16651665
if (!opts.differential_a_v && comp != lir_component::all) {
16661666
error("cannot specify attenuation component other than 'all' when "
1667-
"DIFFERENTIAL_A_V=0");
1667+
"DIFFERENTIAL_A_V=0, on line ", l);
16681668
return false;
16691669
}
16701670
}

0 commit comments

Comments
 (0)