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/gems_common/ioutil/attrlex.ll | |
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/gems_common/ioutil/attrlex.ll')
-rw-r--r-- | src/mem/gems_common/ioutil/attrlex.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/gems_common/ioutil/attrlex.ll b/src/mem/gems_common/ioutil/attrlex.ll index 068591b07..3d142eef1 100644 --- a/src/mem/gems_common/ioutil/attrlex.ll +++ b/src/mem/gems_common/ioutil/attrlex.ll @@ -68,7 +68,7 @@ WHITESPACE [ \t] %{ -#include "Global.hh" +#include "mem/ruby/common/Global.hh" using namespace std; #include <string> @@ -80,12 +80,12 @@ using namespace std; // #include "simics/api.h" // }; -#include "FakeSimicsDataTypes.hh" +#include "mem/gems_common/ioutil/FakeSimicsDataTypes.hh" // CM: simics 1.6.5 API redefines fwrite, much to my chagrin #undef fwrite #undef printf -#include "attrparse.h" +#include "mem/gems_common/ioutil/attrparse.hh" #define MAX_INCLUDE_DEPTH 10 |