Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion liberty/LibertyParse.yy
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@
#define loc_line(loc) loc.begin.line
%}

%require "3.0"
%require "3.2"
%skeleton "lalr1.cc"
%debug
%define api.namespace {sta}
%locations
%define api.location.file "LibertyLocation.hh"
%define parse.assert
%parse-param { LibertyScanner *scanner }
%parse-param { LibertyParser *reader }
Expand Down
2 changes: 1 addition & 1 deletion liberty/LibertyScanner.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <FlexLexer.h>
#endif

#include "location.hh"
#include "LibertyLocation.hh"
#include "LibertyParse.hh"

namespace sta {
Expand Down
3 changes: 2 additions & 1 deletion sdf/SdfParse.yy
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
%}

%require "3.0"
%require "3.2"
%skeleton "lalr1.cc"
%debug
%define api.namespace {sta}
%locations
%define api.location.file "SdfLocation.hh"
%define parse.assert
%parse-param { SdfScanner *scanner }
%parse-param { SdfReader *reader }
Expand Down
2 changes: 1 addition & 1 deletion sdf/SdfScanner.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <FlexLexer.h>
#endif

#include "location.hh"
#include "SdfLocation.hh"
#include "SdfParse.hh"

namespace sta {
Expand Down
3 changes: 2 additions & 1 deletion verilog/VerilogParse.yy
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ sta::VerilogParse::error(const location_type &loc,
}
%}

%require "3.0"
%require "3.2"
%skeleton "lalr1.cc"
%debug
%define api.namespace {sta}
%locations
%define api.location.file "VerilogLocation.hh"
%define parse.assert
%parse-param { VerilogScanner *scanner }
%parse-param { VerilogReader *reader }
Expand Down
2 changes: 1 addition & 1 deletion verilog/VerilogScanner.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <FlexLexer.h>
#endif

#include "location.hh"
#include "VerilogLocation.hh"
#include "VerilogParse.hh"

namespace sta {
Expand Down