~ubuntu-branches/ubuntu/wily/verilator/wily

« back to all changes in this revision

Viewing changes to src/V3EmitV.cpp

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2014-09-28 12:18:43 UTC
  • mfrom: (1.2.29)
  • Revision ID: package-import@ubuntu.com-20140928121843-x25dh09ebwng7afl
Tags: 3.864-1
* New upstream release.
* debian/upstream/metadata: Add upstream metadata information
* debian/control: Bump Standards-Version to 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
685
685
class EmitVPrefixedVisitor : public EmitVBaseVisitor {
686
686
    // MEMBERS
687
687
    EmitVPrefixedFormatter m_formatter; // Special verilog formatter (Way down the inheritance is another unused V3OutFormatter)
688
 
    bool        m_user3mark;    // nodep->user3() if set means mark with %%
689
688
    // METHODS
690
689
    virtual void putsNoTracking(const string& str) { m_formatter.putsNoTracking(str); }
691
690
    virtual void puts(const string& str) { m_formatter.puts(str); }
706
705
public:
707
706
    EmitVPrefixedVisitor(AstNode* nodep, ostream& os, const string& prefix, int flWidth,
708
707
                         AstSenTree* domainp, bool user3mark)
709
 
        : EmitVBaseVisitor(domainp), m_formatter(os, prefix, flWidth), m_user3mark(user3mark) {
 
708
        : EmitVBaseVisitor(domainp), m_formatter(os, prefix, flWidth) {
710
709
        if (user3mark) { AstUser3InUse::check(); }
711
710
        nodep->accept(*this);
712
711
    }