mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix compiler errors under Fedora release candidate 11.
This commit is contained in:
+1
-1
@@ -990,7 +990,7 @@ int V3PreProcImp::getToken() {
|
||||
string V3PreProcImp::getline() {
|
||||
// Get a single line from the parse stream. Buffer unreturned text until the newline.
|
||||
if (isEof()) return "";
|
||||
char* rtnp;
|
||||
const char* rtnp;
|
||||
bool gotEof = false;
|
||||
while (NULL==(rtnp=strchr(m_lineChars.c_str(),'\n')) && !gotEof) {
|
||||
int tok = getToken();
|
||||
|
||||
Reference in New Issue
Block a user