forked from github/verilator
Internals: remove cfilename, no functional change
This commit is contained in:
parent
bded8755a1
commit
5d57263a15
@ -252,7 +252,6 @@ public:
|
||||
string ascii() const;
|
||||
const string filename () const { return m_filename; }
|
||||
const string filebasename () const;
|
||||
const char* cfilename () const { return m_filename.c_str(); }
|
||||
const string profileFuncname() const;
|
||||
void warnOff(V3ErrorCode code, bool flag) { m_warnOn.set(code,!flag); } // Turn on/off warning messages on this line.
|
||||
bool warnOff(const string& code, bool flag); // Returns 1 if ok
|
||||
|
@ -93,7 +93,7 @@ psl [p]sl
|
||||
|
||||
/* Optional directives we recognize */
|
||||
<INITIAL>"`__FILE__" { static string rtnfile;
|
||||
rtnfile = '"'; rtnfile += LEXP->m_curFilelinep->cfilename();
|
||||
rtnfile = '"'; rtnfile += LEXP->m_curFilelinep->filename().c_str();
|
||||
rtnfile += '"'; yytext=(char*)rtnfile.c_str(); yyleng = rtnfile.length();
|
||||
return (VP_STRING); }
|
||||
<INITIAL>"`__LINE__" { static char buf[10];
|
||||
|
Loading…
Reference in New Issue
Block a user