Skip to content

Commit

Permalink
Undo changes to gtestp4c source
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Fingerhut <[email protected]>
  • Loading branch information
jafingerhut committed Oct 20, 2024
1 parent d89f214 commit 7424db3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/gtest/parser_unroll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ std::pair<const IR::P4Parser *, const IR::P4Parser *> loadExample(
const char *argv = "./gtestp4c";
options.process(1, (char *const *)&argv);
options.langVersion = langVersion;
options.excludeFrontendPasses = true;
options.passesToExcludeFrontend.push_back(cstring("DuplicateHierarchicalNameCheck"));
const IR::P4Program *program = load_model(file, options);
if (!program) return std::make_pair(nullptr, nullptr);
return rewriteParser(program, options);
Expand Down

0 comments on commit 7424db3

Please sign in to comment.