Skip to content

Commit

Permalink
correction for one of the today's commits (wrong token name)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed May 22, 2012
1 parent e5b7ff7 commit f4e0a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fityk/cparser.cpp
Expand Up @@ -465,7 +465,7 @@ void Parser::parse_fit_args(Lexer& lex, vector<Token>& args)
}
else if (t.type == kTokenPlus) {
args.push_back(t);
if (lex.peek_token().type == kTokenDataset)
if (lex.peek_token().type == kTokenNumber)
args.push_back(lex.get_token());
if (lex.peek_token().type == kTokenDataset)
throw ExecuteError("No need to specify datasets to continue fit.");
Expand Down

0 comments on commit f4e0a88

Please sign in to comment.