diff options
author | Nathan Binkert <nate@binkert.org> | 2011-07-05 18:30:04 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-07-05 18:30:04 -0700 |
commit | 3d252f8e5fa2ec3f55730ab6d5d1a4a1b21b2cdf (patch) | |
tree | 9142c3ced15b46cb426a5470bd2819346758f321 /src/arch | |
parent | a4bd05dc379091fa20d52529b245f557d4e4c2e5 (diff) | |
download | gem5-3d252f8e5fa2ec3f55730ab6d5d1a4a1b21b2cdf.tar.xz |
grammar: better encapsulation of a grammar and parsing
This makes it possible to use the grammar multiple times and use the multiple
instances concurrently. This makes implementing an include statement as part
of a grammar possible.
Diffstat (limited to 'src/arch')
-rwxr-xr-x | src/arch/isa_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/isa_parser.py b/src/arch/isa_parser.py index 97b1bcecc..95bbd15e4 100755 --- a/src/arch/isa_parser.py +++ b/src/arch/isa_parser.py @@ -1957,7 +1957,7 @@ StaticInstPtr # Parse it. (isa_name, namespace, global_code, namespace_code) = \ - self.parse(isa_desc) + self.parse_string(isa_desc) # grab the last three path components of isa_desc_file to put in # the output |