function expectedBefore(keyword) {
	return [{ messageId: "expectedBefore", data: { value: keyword } }];
}
Gets an error message that expected space(s) before a specified keyword.
@param {string} keyword A keyword.
@returns {string[]} An error message.