mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
fixed accidental bug in pgf-parse.c
This commit is contained in:
@@ -14,7 +14,7 @@ int main(int argc, char* argv[]) {
|
|||||||
// Set the character locale, so we can produce proper output.
|
// Set the character locale, so we can produce proper output.
|
||||||
setlocale(LC_CTYPE, "");
|
setlocale(LC_CTYPE, "");
|
||||||
|
|
||||||
if (argc != 1) {
|
if (argc != 2) {
|
||||||
fprintf(stderr, "usage: %s pgf\n", argv[0]);
|
fprintf(stderr, "usage: %s pgf\n", argv[0]);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user