mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
The --enable-defenv configure option added in 3.660 is now the default.
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1014 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
+2
-2
@@ -382,7 +382,7 @@ string V3PreProcImp::defineSubst(V3DefineRef* refp) {
|
||||
// and would make recursive definitions and parameter handling nasty.
|
||||
//
|
||||
// Note we parse the definition parameters and value here. If a
|
||||
// parameterized define is used many, many times, we could cache the
|
||||
// parametrized define is used many, many times, we could cache the
|
||||
// parsed result.
|
||||
UINFO(4,"defineSubstIn `"<<refp->name()<<" "<<refp->params()<<endl);
|
||||
for (unsigned i=0; i<refp->args().size(); i++) {
|
||||
@@ -595,7 +595,7 @@ int V3PreProcImp::getRawToken() {
|
||||
while ((pos=buf.find("\n")) != string::npos) { buf.replace(pos, 1, "\\n"); }
|
||||
while ((pos=buf.find("\r")) != string::npos) { buf.replace(pos, 1, "\\r"); }
|
||||
fprintf (stderr, "%d: RAW %s s%d dr%d: %-10s: %s\n",
|
||||
fileline()->lineno(), m_off?"of":"on", m_state, m_defRefs.size(),
|
||||
fileline()->lineno(), m_off?"of":"on", m_state, (int)m_defRefs.size(),
|
||||
tokenName(tok), buf.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user