summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast/Location.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-12 22:33:05 -0700
committerNathan Binkert <nate@binkert.org>2009-05-12 22:33:05 -0700
commit0c2b9cf90dc7c63f8d102a0d4285101a03bc5b91 (patch)
tree78b424b805503e246d9af9457a16ddd8f8617cc4 /src/mem/slicc/ast/Location.hh
parentd923ce0f8ca6a534b1127664792b936f22677a77 (diff)
downloadgem5-0c2b9cf90dc7c63f8d102a0d4285101a03bc5b91.tar.xz
slicc: work around improper initialization of a global in slicc.
Diffstat (limited to 'src/mem/slicc/ast/Location.hh')
-rw-r--r--src/mem/slicc/ast/Location.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/ast/Location.hh b/src/mem/slicc/ast/Location.hh
index f070efc46..3233bdb3b 100644
--- a/src/mem/slicc/ast/Location.hh
+++ b/src/mem/slicc/ast/Location.hh
@@ -42,7 +42,7 @@
#include "mem/slicc/slicc_global.hh"
extern int g_line_number;
-extern string g_file_name;
+extern string &g_file_name();
class Location {
public: