Internals: Fix passing bool as int. No functional change.

Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
John Coiner 2018-02-27 07:16:16 -05:00 committed by Wilson Snyder
parent fe5c4df079
commit a7a790416e
2 changed files with 2 additions and 2 deletions

View File

@ -1287,7 +1287,7 @@ public:
static AstNode* addNextNull(AstNode* nodep, AstNode* newp); // Returns nodep, adds newp (maybe NULL) to end of nodep's list
inline AstNode* addNext(AstNode* newp) { return addNext(this, newp); }
inline AstNode* addNextNull(AstNode* newp) { return addNextNull(this, newp); }
void addNextHere(AstNode* newp); // Adds after speced node
void addNextHere(AstNode* newp); // Insert newp at this->nextp
void addPrev(AstNode* newp) { replaceWith(newp); newp->addNext(this); }
void addHereThisAsNext(AstNode* newp); // Adds at old place of this, this becomes next
void replaceWith(AstNode* newp); // Replace current node in tree with new node

View File

@ -1284,7 +1284,7 @@ V3Options::V3Options() {
VName::maxLength(128); // Linux filename limits 256; leave half for prefix
optimize(true);
optimize(1);
// Default +libext+
addLibExtV(""); // So include "filename.v" will find the same file
addLibExtV(".v");