forked from github/verilator
Fix tick style on %p formats.
This commit is contained in:
parent
44f938e507
commit
829db3eefa
@ -148,7 +148,7 @@ class CUseVisitor : public AstNVisitor {
|
||||
funcp->isStatic(false);
|
||||
funcp->protect(false);
|
||||
AstNode* exprp = new AstCMath(nodep->fileline(),
|
||||
"std::string(\"`{\") + to_string_middle() + \"}\"", 0);
|
||||
"std::string(\"'{\") + to_string_middle() + \"}\"", 0);
|
||||
exprp->dtypeSetString();
|
||||
funcp->addStmtsp(new AstCReturn(nodep->fileline(), exprp));
|
||||
nodep->addStmtp(funcp);
|
||||
|
@ -490,7 +490,7 @@ class EmitVBaseVisitor : public EmitCBaseVisitor {
|
||||
puts(")");
|
||||
}
|
||||
virtual void visit(AstInitArray* nodep) override {
|
||||
putfs(nodep, "`{");
|
||||
putfs(nodep, "'{");
|
||||
int comma = 0;
|
||||
const AstInitArray::KeyItemMap& mapr = nodep->map();
|
||||
for (AstInitArray::KeyItemMap::const_iterator it = mapr.begin(); it != mapr.end(); ++it) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
Display: null = "null"
|
||||
Display: newed = "`{imembera:'h0, imemberb:'h0}"
|
||||
Display: set = "`{imembera:'ha, imemberb:'h14}"
|
||||
Display: newed = "'{imembera:'h0, imemberb:'h0}"
|
||||
Display: set = "'{imembera:'ha, imemberb:'h14}"
|
||||
*-* All Finished *-*
|
||||
|
Loading…
Reference in New Issue
Block a user