diff options
author | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:45 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:45 -0700 |
commit | 24da30e317cdbf4b628141d69b2d17dac5ae3822 (patch) | |
tree | 190e2e14e278190d776dfd65a489f70700f4c8b0 /src/mem/slicc/parser | |
parent | d8c592a05d884560b3cbbe04d9e1ed9cf6575eaa (diff) | |
download | gem5-24da30e317cdbf4b628141d69b2d17dac5ae3822.tar.xz |
ruby: Make ruby #includes use full paths to the files they're including.
This basically means changing all #include statements and changing
autogenerated code so that it generates the correct paths. Because
slicc generates #includes, I had to hard code the include paths to
mem/protocol.
Diffstat (limited to 'src/mem/slicc/parser')
-rw-r--r-- | src/mem/slicc/parser/lexer.ll | 4 | ||||
-rw-r--r-- | src/mem/slicc/parser/parser.yy | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/slicc/parser/lexer.ll b/src/mem/slicc/parser/lexer.ll index 7903b0ee7..a4af2ac51 100644 --- a/src/mem/slicc/parser/lexer.ll +++ b/src/mem/slicc/parser/lexer.ll @@ -29,8 +29,8 @@ %{ #include <assert.h> -#include "ASTs.hh" -#include "parser.h" +#include "mem/slicc/ast/ASTs.hh" +#include "mem/slicc/parser/parser.hh" #include <string> extern "C" int yylex(); diff --git a/src/mem/slicc/parser/parser.yy b/src/mem/slicc/parser/parser.yy index f4d9a1a62..8090b88f7 100644 --- a/src/mem/slicc/parser/parser.yy +++ b/src/mem/slicc/parser/parser.yy @@ -30,7 +30,7 @@ #include <string> #include <stdio.h> #include <assert.h> -#include "ASTs.hh" +#include "mem/slicc/ast/ASTs.hh" #define YYMAXDEPTH 100000 #define YYERROR_VERBOSE |