Fix a parameter parsing error in wc.

This commit is contained in:
Mid Favila 2022-11-19 14:27:31 -04:00
parent ec239c0232
commit bba815ff38
1 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@
/* Parameters */ /* Parameters */
enum enum
{ {
W, CM,
L, L,
CM W
}; };
/* States */ /* States */
@ -27,9 +27,9 @@ enum {
/* Category names for count[] and result[] */ /* Category names for count[] and result[] */
enum { enum {
/* character or byte */ /* character or byte */
COB,
LINES, LINES,
WORDS, WORDS
COB
}; };