localedef: Improve cc_list parsing
authorJohn Marino <draco@marino.st>
Thu, 6 Oct 2016 15:46:50 +0000 (10:46 -0500)
committerJohn Marino <draco@marino.st>
Thu, 6 Oct 2016 17:26:19 +0000 (12:26 -0500)
commit23c84b8f4614206c0e0e214531fc216fbf3854c9
tree3fea5df5e1c7854886b1e61676771d70aae3cdc7
parent07ed7d329a83714ec268e2f3ce026bba5a1ac5c2
localedef: Improve cc_list parsing

I had originally suspected the parsing of ctype definition files as being
the source of the ctype flag mis-definitions, but it wasn't.  In the
process, I simplified the cc_list parsing so I'm committing the no-impact
improvement separately.  It removes some parsing redundancies and
won't parse partial range definitions anymore.
usr.bin/localedef/parser.y