Skip to content

Commit 72d0279

Browse files
committed
Remove ExpressionTree.h include from TreeFunctions.h
Instead, directly include it where it's actually being used.
1 parent a4b261b commit 72d0279

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

projectm-eval/CompileContext.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#include "Scanner.h"
44
#include "Compiler.h"
5+
#include "ExpressionTree.h"
56
#include "MemoryBuffer.h"
67
#include "TreeFunctions.h"
78

projectm-eval/CompilerFunctions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "CompilerFunctions.h"
22

3+
#include "ExpressionTree.h"
34
#include "TreeFunctions.h"
45
#include "TreeVariables.h"
56

projectm-eval/TreeFunctions.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#pragma once
66

77
#include "CompilerTypes.h"
8-
#include "ExpressionTree.h"
98

109
#include <stdint.h>
1110

tests/TreeFunctionsTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include "TreeFunctionsTest.hpp"
22

3+
extern "C" {
4+
#include <projectm-eval/ExpressionTree.h>
5+
}
6+
37
#include <cmath>
48

59
#ifdef _MSC_VER

0 commit comments

Comments
 (0)