Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checked in initial version of "wrap" transformation. #2

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
4 changes: 4 additions & 0 deletions ast/agramlex.lex
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
#include "agrampar.codes.h"

#include <string.h> // strchr, strrchr
#include <iostream>
using std::cin;
using std::cerr;
using std::cout;

// for maintaining column count
#define TOKEN_START tokenStartLoc = fileState.loc /* user ; */
Expand Down
4 changes: 4 additions & 0 deletions elkhound/gramlex.lex
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#include "grampar.codes.h"

#include <string.h> // strchr, strrchr
#include <iostream>
using std::cin;
using std::cout;
using std::cerr;

// for maintaining column count
#define TOKEN_START tokenStartLoc = fileState.loc /* user ; */
Expand Down
5 changes: 5 additions & 0 deletions elsa/cc.lex
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
#include "lexer.h" // Lexer class
#include "cc_lang.h" // CCLang (actually gnu.lex needs CCLang, but can't add the #include by itself due to the way lexer extensions work ...)

#include <iostream>
using std::cin;
using std::cout;
using std::cerr;

// this works around a problem with cygwin & fileno
#define YY_NEVER_INTERACTIVE 1

Expand Down
4 changes: 4 additions & 0 deletions elsa/xml_lex_0top.lex
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#define YY_NEVER_INTERACTIVE 1

#include "xml_lex_extra.h"
#include <iostream>
using std::cin;
using std::cout;
using std::cerr;

%}

Expand Down
1 change: 1 addition & 0 deletions oink/Pork/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ l_FLAGS += -lelkhound
l_FLAGS += -lsmbase
l_FLAGS += -lqual
l_FLAGS += -lregion
l_FLAGS += -lzipios

# dataflow functionality
DATAFLOW_LOCAL_CC_O :=
Expand Down
Loading