summaryrefslogtreecommitdiff
path: root/test/foo.ini
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-10-21 21:24:34 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2003-10-21 21:24:34 -0700
commit5159241db723c91a05dadb2827c2e63f7b124d56 (patch)
tree74ffb5bd807c602e83103ffd0bf04bda91a1f1ce /test/foo.ini
parenta7c88ad2aef0ea8e743754ea93a0b4bcaf5bdc97 (diff)
downloadgem5-5159241db723c91a05dadb2827c2e63f7b124d56.tar.xz
New ini-file feature: += appends RHS to LHS.
Added doxygen comments to inifile.hh. Updated initest. Some other minor cleanup. base/inifile.cc: Add support for '+=' append operation. Factor common code from IniFile::load() and IniFile::add() into new Section::add(). Rename ConfigTable to SectionTable (more descriptive). Fix bug in Section::dump(). base/inifile.hh: Add doxygen comments. Add support for '+=' append operation. Factor common code from IniFile::load() and IniFile::add() into new Section::add(). Rename ConfigTable to SectionTable (more descriptive). test/Makefile: initest needs cprintf.o now. test/foo.ini: Add test of '+=' operator. test/initest.cc: Bring this up-to-date. Steal main loop from main.cc so we can test multiple .ini files and command-line assignments too. --HG-- extra : convert_revision : 982521677fbf464e93aa93798ff7d9611826f17c
Diffstat (limited to 'test/foo.ini')
-rw-r--r--test/foo.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/foo.ini b/test/foo.ini
index aa4305f12..534a4e001 100644
--- a/test/foo.ini
+++ b/test/foo.ini
@@ -5,3 +5,6 @@ Foo2=384
[General]
Test3=89
+
+[Junk]
+Test4+=mia