fix glitches in bison run and parser build
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#include "searchdata.h"
|
||||
#include "wasaparserdriver.h"
|
||||
#include "wasaparse.h"
|
||||
#include "wasaparse.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#define YYDEBUG 1
|
||||
|
||||
// bison-generated file
|
||||
#include "wasaparse.h"
|
||||
#include "wasaparse.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace Rcl;
|
||||
|
||||
+2
-2
@@ -3,11 +3,11 @@
|
||||
// Bison generates y.tab.h and inserts a line in the generated cpp
|
||||
// file to include it
|
||||
|
||||
// However, we tell automake to use wasaparse.cpp and wasaparse.h as
|
||||
// However, we tell automake to use wasaparse.cpp and wasaparse.hpp as
|
||||
// names for the generated files. This does not fix the #include
|
||||
// y.tab.h line, so it fails.
|
||||
|
||||
// This workaround file just includes the appropriate file as
|
||||
// generated by automake
|
||||
|
||||
#include "wasaparse.h"
|
||||
#include "wasaparse.hpp"
|
||||
|
||||
Reference in New Issue
Block a user