mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
wip
Change-Id: I7ac1cea7dc59ca2fa9c25cc8244c26a95a650448
This commit is contained in:
2
Makefile
2
Makefile
@@ -12,7 +12,7 @@ HOSTCC = gcc
|
||||
SFLAGS += -Ilib -I.
|
||||
|
||||
# Flags - Building options
|
||||
SFLAGS += -Wall -Werror
|
||||
SFLAGS += -Wall
|
||||
|
||||
# Flags - Optimizations
|
||||
ifeq ($(DEBUG),1)
|
||||
|
||||
@@ -38,7 +38,6 @@ Expression * Expression::simplify() {
|
||||
const Simplification * simplification = (simplifications + i); // Pointer arithmetics
|
||||
Expression * simplified = simplification->simplify(result);
|
||||
if (simplified != nullptr) {
|
||||
std::cout << "simplification " << i << " returned a non null pointer" << std::endl;
|
||||
PRINT_AST(simplified);
|
||||
simplification_pass_was_useful = true;
|
||||
if (result != this) {
|
||||
|
||||
@@ -15,6 +15,7 @@ public:
|
||||
Any,
|
||||
Type,
|
||||
Wildcard,
|
||||
TypeAndValue,
|
||||
};
|
||||
ExpressionSelector * child(int i);
|
||||
/* The match function is interesting
|
||||
|
||||
Reference in New Issue
Block a user