Removed len argument from proposal_get_token()

Also use enumerators instead of lexparser.h to parse proposal strings.
This commit is contained in:
Tobias Brunner
2012-09-13 15:44:01 +02:00
parent 1962e12fd3
commit 995875210a
6 changed files with 30 additions and 32 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ int main(int argc, char *argv[])
limit = atoi(argv[2]);
}
token = proposal_get_token(argv[1], strlen(argv[1]));
token = proposal_get_token(argv[1]);
if (!token)
{
fprintf(stderr, "algorithm '%s' unknown!\n", argv[1]);