aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2018-11-20 23:13:14 -0800
committerMike Buland <eichlan@xagasoft.com>2018-11-20 23:13:14 -0800
commit3a0447e76e279c47b8e57924edc8b6d8dd269a4a (patch)
treea7e2c3b36bd2d4b0b81d5b2383c29da484a68246 /src
parent31fa2d4836ce93993aa94364b1c3dd2195c90142 (diff)
downloadbuild-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.tar.gz
build-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.tar.bz2
build-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.tar.xz
build-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.zip
Correcting build issues.
Diffstat (limited to 'src')
-rw-r--r--src/ast.cpp2
-rw-r--r--src/buildparser.h4
-rw-r--r--src/location.cpp2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/ast.cpp b/src/ast.cpp
index 24d3193..4bbe186 100644
--- a/src/ast.cpp
+++ b/src/ast.cpp
@@ -9,7 +9,7 @@
9#include "astleaf.h" 9#include "astleaf.h"
10#include "astbranch.h" 10#include "astbranch.h"
11 11
12#include "build.tab.h" 12#include "buildparser.h"
13 13
14Ast::Ast() 14Ast::Ast()
15{ 15{
diff --git a/src/buildparser.h b/src/buildparser.h
index 47597bb..5337554 100644
--- a/src/buildparser.h
+++ b/src/buildparser.h
@@ -8,6 +8,9 @@
8#ifndef BUILD_PARSER_H 8#ifndef BUILD_PARSER_H
9#define BUILD_PARSER_H 9#define BUILD_PARSER_H
10 10
11typedef void * yyscan_t;
12class BuildParser;
13
11#include "build.tab.h" 14#include "build.tab.h"
12 15
13#include "bu/stack.h" 16#include "bu/stack.h"
@@ -41,7 +44,6 @@ private:
41 Bu::Hash<Bu::String, bool> hConds; 44 Bu::Hash<Bu::String, bool> hConds;
42}; 45};
43 46
44typedef void * yyscan_t;
45#define YY_DECL int build_lex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner, BuildParser &b ) 47#define YY_DECL int build_lex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner, BuildParser &b )
46YY_DECL; 48YY_DECL;
47 49
diff --git a/src/location.cpp b/src/location.cpp
index 1e2dfcd..507c922 100644
--- a/src/location.cpp
+++ b/src/location.cpp
@@ -6,7 +6,7 @@
6 */ 6 */
7 7
8#include "location.h" 8#include "location.h"
9#include "build.tab.h" 9#include "buildparser.h"
10 10
11Location::Location() : 11Location::Location() :
12 sFile("none"), 12 sFile("none"),