ISA parser: Loosen the regular expressions matching filenames.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 7 Jun 2011 07:46:54 +0000 (00:46 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 7 Jun 2011 07:46:54 +0000 (00:46 -0700)
commitab3704170e4b9e3f3ece995d6209c353a463a4a1
treebe4a91d02e9d1336b9c8cd9abe340fa0ab47864e
parenta59a143a25bdc7d794cdcc8ebb6e8d2f37903015
ISA parser: Loosen the regular expressions matching filenames.

The regular expressions matching filenames in the ##include directives and the
internally generated ##newfile directives where only looking for filenames
composed of alpha numeric characters, periods, and dashes. In Unix/Linux, the
rules for what characters can be in a filename are much looser than that. This
change replaces those expressions with ones that look for anything other than
a quote character. Technically quote characters are allowed as well so we
should allow escaping them somehow, but the additional complexity probably
isn't worth it.
src/arch/isa_parser.py