diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2005-02-17 12:14:04 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2005-02-17 12:14:04 -0500 |
commit | 45ef238e3f54bd7e2b602def187085bd0b99aab5 (patch) | |
tree | ea4057df1dac0768ebf36201468af632cdefedf1 /sim/param.cc | |
parent | b8d65408c810ba490243fc32c7d5e6817c32c70b (diff) | |
parent | cfe6ed7c484b62d07bae23c528f0e2e568cf0d65 (diff) | |
download | gem5-45ef238e3f54bd7e2b602def187085bd0b99aab5.tar.xz |
Merge zizzer:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/.automount/zazzer/z/rdreslin/m5bk/timing_L1
--HG--
extra : convert_revision : 88afcacc41f5b0fae0ed1ac1821b7ca88c407e85
Diffstat (limited to 'sim/param.cc')
-rw-r--r-- | sim/param.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/param.cc b/sim/param.cc index d16578a2d..ff023ce85 100644 --- a/sim/param.cc +++ b/sim/param.cc @@ -441,6 +441,11 @@ EnumVectorParam<Map>::parse(const string &s) { vector<string> tokens; + if (s.empty()) { + wasSet = true; + return; + } + tokenize(tokens, s, ' '); value.resize(tokens.size()); |