mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-27 05:22:50 -06:00
libpgf: now all concrete functions and categories are explicitly linked to their abstract counter parts
This commit is contained in:
@@ -33,7 +33,6 @@ int main(int argc, char* argv[]) {
|
||||
GuString cat;
|
||||
bool robust_mode;
|
||||
if (argv[2][0] == '.') {
|
||||
printf("%s\n", argv[2]+1);
|
||||
cat = gu_str_string(argv[2]+1, pool);
|
||||
robust_mode = true;
|
||||
} else {
|
||||
@@ -116,7 +115,7 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
// Begin parsing a sentence of the specified category
|
||||
PgfParse* parse =
|
||||
pgf_parser_parse(&pgf->abstract, from_concr, cat, lin_idx, pool);
|
||||
pgf_parser_parse(from_concr, cat, lin_idx, pool);
|
||||
if (parse == NULL) {
|
||||
fprintf(stderr, "Couldn't begin parsing\n");
|
||||
status = EXIT_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user