mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 08:33:38 +02:00
Internals: Add mutex to V3Error (#3680)
This commit is contained in:
+3
-1
@@ -185,7 +185,9 @@ public:
|
||||
// For getline()
|
||||
string m_lineChars; ///< Characters left for next line
|
||||
|
||||
void v3errorEnd(std::ostringstream& str) { fileline()->v3errorEnd(str); }
|
||||
void v3errorEnd(std::ostringstream& str) VL_REQUIRES(V3Error::s().m_mutex) {
|
||||
fileline()->v3errorEnd(str);
|
||||
}
|
||||
|
||||
static const char* tokenName(int tok);
|
||||
void debugToken(int tok, const char* cmtp);
|
||||
|
||||
Reference in New Issue
Block a user