]> git.lyx.org Git - features.git/commitdiff
Fix typo and whitespace
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 10 Mar 2012 21:20:25 +0000 (21:20 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 10 Mar 2012 21:20:25 +0000 (21:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40909 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/Parser.cpp
src/tex2lyx/Parser.h

index 290b7ba7b77925150d6497250937fc7314565456..20f5058901e163d9ab7f54eece6a73b0b31e1cd3 100644 (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;
index 3b852e1090ff7e55eac0f6fc50c85694e8b898ef..c0c5685bb83fc449cf2567c39f00206b38fb3629 100644 (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