ldlex.l tidy
authorAlan Modra <amodra@gmail.com>
Wed, 3 Apr 2019 00:58:17 +0000 (11:28 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 3 Apr 2019 02:31:32 +0000 (13:01 +1030)
commit092da96ac4fc1bfa4c794320f538edb4e8d4fcfd
treeae81fe51acb0db1378f506ab7c4a3883d992976a
parent4b24dd1acad5c133d12aab6a575c83269336e47f
ldlex.l tidy

Underscore was specified twice in all these patterns, and backslash
twice in some.  Flex warned about the $SYSROOT rule, which is covered
by earlier rules:  "ldlex.l:386: warning, rule cannot be matched".

* ldlex.l: Formatting.
(CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
(FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
(NOCFILENAMECHAR): Remove duplicate chars.  Reorder.
(SYMBOLCHARN): Likewise.  Rename to SYMBOLNAMECHAR.
(<INPUTLIST>"$SYSROOT"..): Delete rule.
ld/ChangeLog
ld/ldlex.l