diff --git a/src/tex2lyx/Parser.cpp b/src/tex2lyx/Parser.cpp index 290b7ba7b7..20f5058901 100644 --- a/src/tex2lyx/Parser.cpp +++ b/src/tex2lyx/Parser.cpp @@ -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; diff --git a/src/tex2lyx/Parser.h b/src/tex2lyx/Parser.h index 3b852e1090..c0c5685bb8 100644 --- a/src/tex2lyx/Parser.h +++ b/src/tex2lyx/Parser.h @@ -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