mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Internals: revert (#2467)
This commit is contained in:
parent
a02c420064
commit
ce340658d6
@ -2448,15 +2448,6 @@ public:
|
||||
virtual string verilogKwd() const { return "module"; }
|
||||
};
|
||||
|
||||
class AstProgram : public AstNodeModule {
|
||||
// A program declaration
|
||||
public:
|
||||
AstProgram(FileLine* fl, const string& name)
|
||||
: ASTGEN_SUPER(fl, name) {}
|
||||
ASTNODE_NODE_FUNCS(Program)
|
||||
virtual string verilogKwd() const { return "program"; }
|
||||
};
|
||||
|
||||
class AstNotFoundModule : public AstNodeModule {
|
||||
// A missing module declaration
|
||||
public:
|
||||
|
@ -1465,7 +1465,7 @@ program_declaration: // IEEE: program_declaration + program_nonansi_header + pr
|
||||
|
||||
pgmFront<modulep>:
|
||||
yPROGRAM lifetimeE idAny/*new_program*/
|
||||
{ $$ = new AstProgram($<fl>3,*$3);
|
||||
{ $$ = new AstModule($<fl>3,*$3);
|
||||
$$->lifetime($2);
|
||||
$$->inLibrary(PARSEP->inLibrary() || $$->fileline()->celldefineOn());
|
||||
$$->modTrace(GRAMMARP->allTracingOn($$->fileline()));
|
||||
|
Loading…
Reference in New Issue
Block a user