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->isStatic(false);
|
||||||
funcp->protect(false);
|
funcp->protect(false);
|
||||||
AstNode* exprp = new AstCMath(nodep->fileline(),
|
AstNode* exprp = new AstCMath(nodep->fileline(),
|
||||||
"std::string(\"`{\") + to_string_middle() + \"}\"", 0);
|
"std::string(\"'{\") + to_string_middle() + \"}\"", 0);
|
||||||
exprp->dtypeSetString();
|
exprp->dtypeSetString();
|
||||||
funcp->addStmtsp(new AstCReturn(nodep->fileline(), exprp));
|
funcp->addStmtsp(new AstCReturn(nodep->fileline(), exprp));
|
||||||
nodep->addStmtp(funcp);
|
nodep->addStmtp(funcp);
|
||||||
|
|
|
||||||
|
|
@ -490,7 +490,7 @@ class EmitVBaseVisitor : public EmitCBaseVisitor {
|
||||||
puts(")");
|
puts(")");
|
||||||
}
|
}
|
||||||
virtual void visit(AstInitArray* nodep) override {
|
virtual void visit(AstInitArray* nodep) override {
|
||||||
putfs(nodep, "`{");
|
putfs(nodep, "'{");
|
||||||
int comma = 0;
|
int comma = 0;
|
||||||
const AstInitArray::KeyItemMap& mapr = nodep->map();
|
const AstInitArray::KeyItemMap& mapr = nodep->map();
|
||||||
for (AstInitArray::KeyItemMap::const_iterator it = mapr.begin(); it != mapr.end(); ++it) {
|
for (AstInitArray::KeyItemMap::const_iterator it = mapr.begin(); it != mapr.end(); ++it) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
Display: null = "null"
|
Display: null = "null"
|
||||||
Display: newed = "`{imembera:'h0, imemberb:'h0}"
|
Display: newed = "'{imembera:'h0, imemberb:'h0}"
|
||||||
Display: set = "`{imembera:'ha, imemberb:'h14}"
|
Display: set = "'{imembera:'ha, imemberb:'h14}"
|
||||||
*-* All Finished *-*
|
*-* All Finished *-*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue