diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-06 19:06:59 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-06 19:06:59 +0400 |
commit | 96c8ff4b15de341b5665caccd9c4566431b54910 (patch) | |
tree | 126f68fc57024ccf2c459281348d6f35a3b943d3 /moses | |
parent | eef0f213e988033dbc0f81c128bcbd3dbc700b0a (diff) |
last checkin was for the oldest bug found in moses! Goes back to svn version 4, and prob earlier, but svn can't diff that far.
Should have crapped out whenever there is a blank line in the ini file, which is basically every ini file. Only visual studio 2010 complained, and only recently. Very strange, and a bit worrying. Horaay anyway
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4304 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses')
-rw-r--r-- | moses/src/Parameter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/src/Parameter.cpp b/moses/src/Parameter.cpp index 232d68038..23b7069bf 100644 --- a/moses/src/Parameter.cpp +++ b/moses/src/Parameter.cpp @@ -454,7 +454,7 @@ bool Parameter::ReadConfigFile(const string &filePath ) line = Trim(line); if (line.size() == 0) { - // do nothing + // blank line. do nothing. } else if (line[0]=='[') { // new parameter |