]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.C
outstanding changes
[lyx.git] / src / insets / insetcommand.C
index dba48236cdb414d3dbeb170dcc02b122a0d95018..9d10720328abb6da9a5bbf5996fc1ee19f5e49fb 100644 (file)
@@ -144,14 +144,16 @@ void InsetCommandParams::read(LyXLex & lex)
 {    
        string token;
 
-       if (lex.EatLine()) {
-               token = lex.GetString();
+       if (lex.eatLine()) {
+               token = lex.getString();
                scanCommand(token);
-       } else
+       } else {
                lex.printError("InsetCommand: Parse error: `$$Token'");
-       while (lex.IsOK()) {
+       }
+       
+       while (lex.isOK()) {
                lex.nextToken();
-               token = lex.GetString();
+               token = lex.getString();
                if (token == "\\end_inset")
                        break;
        }