| 1009 | static void |
| 1010 | #ifdef __USE_PROTOS |
| 1011 | help( void ) |
| 1012 | #else |
| 1013 | help( ) |
| 1014 | #endif |
| 1015 | { |
| 1016 | Opt *p = options; |
| 1017 | fprintf(stderr, "antlr [options] f1 f2 ... fn\n"); |
| 1018 | while ( *(p->option) != '*' ) |
| 1019 | { |
| 1020 | fprintf(stderr, " %-9s%s %s\n", |
| 1021 | p->option, |
| 1022 | (p->arg)?"___":" ", |
| 1023 | p->descr); |
| 1024 | p++; |
| 1025 | } |
| 1026 | } |
| 1027 | |
| 1028 | /* The RulePtr array is filled in here. RulePtr exists primarily |
| 1029 | * so that sets of rules can be maintained for the FOLLOW caching |