2025-06-24 22:14:30 +02:00
|
|
|
#ifndef VERILOG_ERROR_H
|
|
|
|
|
#define VERILOG_ERROR_H
|
|
|
|
|
|
|
|
|
|
#include "kernel/yosys_common.h"
|
|
|
|
|
#include "frontends/ast/ast.h"
|
|
|
|
|
#include "frontends/verilog/verilog_location.h"
|
|
|
|
|
|
|
|
|
|
YOSYS_NAMESPACE_BEGIN
|
|
|
|
|
|
|
|
|
|
namespace VERILOG_FRONTEND
|
|
|
|
|
{
|
|
|
|
|
[[noreturn]]
|
2025-08-08 16:22:54 +02:00
|
|
|
void err_at_loc(Location loc, char const *fmt, ...);
|
2025-08-13 10:54:47 +02:00
|
|
|
void warn_at_loc(Location loc, char const *fmt, ...);
|
2025-06-24 22:14:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
YOSYS_NAMESPACE_END
|
|
|
|
|
|
|
|
|
|
#endif
|