From 1d721b6ea7ef3c7aa65ceac444b4b0d172b78327 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 10 Mar 2012 21:20:25 +0000 Subject: [PATCH] Fix typo and whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40909 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/Parser.cpp | 2 +- src/tex2lyx/Parser.h | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) 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 -- 2.39.5