mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
Apply 'make format'
This commit is contained in:
parent
472ad90d83
commit
e114dfda6d
@ -76,10 +76,12 @@ void V3ParseImp::lexPpline(const char* textp) {
|
|||||||
string newFilename;
|
string newFilename;
|
||||||
int newLineno = -1;
|
int newLineno = -1;
|
||||||
int enterExit = 0;
|
int enterExit = 0;
|
||||||
lexFileline()->lineDirectiveParse(textp, newFilename /*ref*/, newLineno /*ref*/, enterExit /*ref*/);
|
lexFileline()->lineDirectiveParse(textp, newFilename /*ref*/, newLineno /*ref*/,
|
||||||
|
enterExit /*ref*/);
|
||||||
if (enterExit == 1) { // Enter
|
if (enterExit == 1) { // Enter
|
||||||
FileLine* const prevFl = lexFileline()->copyOrSameFileLine(); // Without applyIgnores
|
FileLine* const prevFl = lexFileline()->copyOrSameFileLine(); // Without applyIgnores
|
||||||
FileLine* const newFl = new FileLine{prevFl}; // Not copyOrSameFileLine as need to keep old value
|
FileLine* const newFl
|
||||||
|
= new FileLine{prevFl}; // Not copyOrSameFileLine as need to keep old value
|
||||||
lexFileline(newFl);
|
lexFileline(newFl);
|
||||||
lexFileline()->parent(prevFl);
|
lexFileline()->parent(prevFl);
|
||||||
} else if (enterExit == 2) { // Exit
|
} else if (enterExit == 2) { // Exit
|
||||||
|
Loading…
Reference in New Issue
Block a user