From ef6f48beefde9ceb3fb805f4dc8b07b4438eac49 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 15 Jun 2013 14:22:49 -0700 Subject: [PATCH] Clean up a couple #include and build dependencies. --- JavaScript.hpp | 4 ++++ Makefile.am | 2 +- Parser.cpp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/JavaScript.hpp b/JavaScript.hpp index ca2b0c1..de7c889 100644 --- a/JavaScript.hpp +++ b/JavaScript.hpp @@ -34,6 +34,10 @@ #include #endif +#include + +#include + extern JSStringRef Array_s; extern JSStringRef cy_s; extern JSStringRef length_s; diff --git a/Makefile.am b/Makefile.am index 0d73879..fc22872 100644 --- a/Makefile.am +++ b/Makefile.am @@ -92,7 +92,7 @@ CLEANFILES += lex.cy.cpp lex.cy.cpp: Cycript.l $(FLEX) -t $< | $(SED) -e 's/int yyl;/yy_size_t yyl;/;s/int yyleng_r;/yy_size_t yyleng_r;/' >$@ -Highlight.lo: Cycript.tab.hh +Console.lo Execute.lo Highlight.lo Library.lo Parser.lo lex.cy.lo: Cycript.tab.hh CLEANFILES += Cycript.tab.cc Cycript.tab.hh location.hh position.hh stack.hh Cycript.output Cycript.tab.cc Cycript.tab.hh location.hh position.hh stack.hh Cycript.output: Cycript.yy diff --git a/Parser.cpp b/Parser.cpp index 09aaf7a..3e94c4d 100644 --- a/Parser.cpp +++ b/Parser.cpp @@ -19,8 +19,8 @@ **/ /* }}} */ -#include "Parser.hpp" #include "Cycript.tab.hh" +#include "Parser.hpp" CYRange DigitRange_ (0x3ff000000000000LLU, 0x000000000000000LLU); // 0-9 CYRange WordStartRange_(0x000001000000000LLU, 0x7fffffe87fffffeLLU); // A-Za-z_$ -- 2.49.0