forked from github/verilator
Internals: Fix inserted tabs.
This commit is contained in:
parent
58dfe9d071
commit
13a20c5ee9
@ -321,8 +321,8 @@ size_t V3PreLex::inputToLex(char* buf, size_t max_size) {
|
||||
//
|
||||
VPreStream* streamp = curStreamp();
|
||||
if (debug()>=10) {
|
||||
cout<<"- pp:inputToLex ITL s="<<max_size<<" bs="<<streamp->m_buffers.size()<<endl;
|
||||
dumpStack();
|
||||
cout<<"- pp:inputToLex ITL s="<<max_size<<" bs="<<streamp->m_buffers.size()<<endl;
|
||||
dumpStack();
|
||||
}
|
||||
// For testing, use really small chunks
|
||||
//if (max_size > 13) max_size=13;
|
||||
@ -369,7 +369,7 @@ string V3PreLex::endOfStream(bool& againr) {
|
||||
// Switch to file or next unputString
|
||||
againr = false;
|
||||
if (yy_flex_debug) {
|
||||
cout<<"-EOS state="<<curStreamp()->m_termState<<" at "<<curFilelinep()<<endl;
|
||||
cout<<"-EOS state="<<curStreamp()->m_termState<<" at "<<curFilelinep()<<endl;
|
||||
}
|
||||
if (curStreamp()->m_eof) return ""; // Don't delete the final "EOF" stream
|
||||
bool exited_file = curStreamp()->m_file;
|
||||
|
@ -1023,7 +1023,7 @@ void V3ParseImp::lexToken() {
|
||||
SYMP->nextId(NULL);
|
||||
} else {
|
||||
UINFO(7," lexToken: find upward "<<SYMP->symCurrentp()
|
||||
<<" for '"<<*(yylval.strp)<<"'"<<endl);
|
||||
<<" for '"<<*(yylval.strp)<<"'"<<endl);
|
||||
//if (debug()>=9) SYMP->symCurrentp()->dump(cout," -findtree: ", true);
|
||||
foundp = SYMP->symCurrentp()->findIdFallback(*(yylval.strp));
|
||||
}
|
||||
@ -1057,8 +1057,8 @@ int V3ParseImp::lexToBison() {
|
||||
cout<<" {"<<yylval.fl->filenameLetters()<<yylval.fl->lineno()
|
||||
<<"} lexToBison TOKEN="<<yylval.token<<" "<<tokenName(yylval.token);
|
||||
if (yylval.token == yaID__ETC
|
||||
|| yylval.token == yaID__LEX
|
||||
|| yylval.token == yaID__aTYPE) {
|
||||
|| yylval.token == yaID__LEX
|
||||
|| yylval.token == yaID__aTYPE) {
|
||||
cout<<" strp='"<<*(yylval.strp)<<"'";
|
||||
}
|
||||
cout<<endl;
|
||||
|
Loading…
Reference in New Issue
Block a user