Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fastmodel: only support single line literal when paring project file
In python3.11, it requires the global specifier should be the first token of regex. However it's not possible when using ply library. In fastmodel case, we actually don't need to support multiline string literal. We fix this issue by just making the string literal single line. Ref: dabeaz/ply#282 Change-Id: I746b628db7ad4c1d7834f1a1b2c1243cef68aa01 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/71018 Tested-by: kokoro <[email protected]> Maintainer: Bobby Bruce <[email protected]> Reviewed-by: Bobby Bruce <[email protected]>
- Loading branch information