On 06/20/11 11:16, nathan binkert wrote:
>>        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.
> I still think that my changes to the Grammar class to support
> importing while building a scanner that uses it would be a good future
> solution.
>
> Those changes are in reviewboard as #715.
>
>   Nate
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev

This was more of a syntax/parsing sort of problem in the ISA desc rather
than a dependency issue or actually finding the files. These directives
are so the file errors come from can be printed and don't really have
any functional use, at least that I recall.

Gabe
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to