Skip to content

Commit

Permalink
Make 2nd argument unique
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
  • Loading branch information
RRozak committed Jan 20, 2025
1 parent fda3028 commit f854b2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/VlcTop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ void VlcTop::writeInfo(const string& filename) {
int point_num = 0;
for (const auto& point : sc.points()) {
os << "BRDA:" << sc.lineno() << ",";
os << "0,";
static int cnt = 0;
os << cnt++ << ",";
const string cmt = point->comment().substr(0, point->comment().find("="));

if (cmt.rfind("toggle_", 0) != 0) {
Expand Down

0 comments on commit f854b2c

Please sign in to comment.