+2003-03-18 John Levon <levon@movementarian.org>
+
+ * ControlParagraph.C: make reading of params succeed
+
2003-03-13 Rob Lahaye <lahaye@snu.ac.kr>
* ControlChanges.[Ch]: ControlChanges::find() returns the bool
lex.next();
bool const accept = lex.getBool();
action = accept ? 1 : 2;
- } else {
+ } else if (!token.empty()) {
// Unrecognised token
return false;
}
lex.next();
string const token = lex.getString();
+ if (token.empty())
+ continue;
+
int Int = 0;
if (token == "\\alignpossible" ||
token == "\\aligndefault" ||
ininset_ = Int;
}
}
- if (nset != 3)
+ if (nset != 3) {
return false;
+ }
// If "update", then set the activation status of the button controller
if (action > 0) {