Fix typo and whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40909 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2012-03-10 21:20:25 +00:00
parent 354d9700f6
commit 1d721b6ea7
2 changed files with 10 additions and 10 deletions

View File

@ -506,7 +506,7 @@ string const Parser::plainCommand(char left, char right, string const & name)
{
if (!good())
return string();
// ceck if first token is really the start character
// check if first token is really the start character
Token tok = get_token();
if (tok.character() != left) {
cerr << "first character does not match start character of command \\" << name << endl;

View File

@ -197,17 +197,17 @@ public:
*/
std::string const verbatimEnvironment(std::string const & name);
/*
* The same as verbatimEnvironment(std::string const & name) but
* \begin and \end commands inside the name environment are not parsed.
* This function is designed to parse verbatim environments.
*/
* The same as verbatimEnvironment(std::string const & name) but
* \begin and \end commands inside the name environment are not parsed.
* This function is designed to parse verbatim environments.
*/
std::string const plainEnvironment(std::string const & name);
/*
* Basically the same as plainEnvironment(std::string const & name) but
* instead of \begin and \end commands the parsing is started/stopped
* at given characters.
* This function is designed to parse verbatim commands.
*/
* Basically the same as plainEnvironment(std::string const & name) but
* instead of \begin and \end commands the parsing is started/stopped
* at given characters.
* This function is designed to parse verbatim commands.
*/
std::string const plainCommand(char left, char right, std::string const & name);
/*!
* Returns the character of the current token and increments