diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-02-16 15:13:57 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-02-17 11:23:25 +0100 |
commit | 766a9002a3d5fb6701de2d84ce689379811eabff (patch) | |
tree | 3a94ffcbbc033f140cb1ec44cb70ad6e1739faa2 /gcc/rust/parse/rust-parse.cc | |
parent | d81ba63f4829c12b89e87564c398e95879c89db1 (diff) | |
download | gcc-766a9002a3d5fb6701de2d84ce689379811eabff.zip gcc-766a9002a3d5fb6701de2d84ce689379811eabff.tar.gz gcc-766a9002a3d5fb6701de2d84ce689379811eabff.tar.bz2 |
frust-cfg: Only allow double quoted values
This commit separates the `handle_cfg_option()` function in two,
separating the parsing logic from the session logic. The parsing logic
is able to be unit tested, and now only allows quoted values.
Diffstat (limited to 'gcc/rust/parse/rust-parse.cc')
-rw-r--r-- | gcc/rust/parse/rust-parse.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/rust/parse/rust-parse.cc b/gcc/rust/parse/rust-parse.cc index e78de51..f2c1301 100644 --- a/gcc/rust/parse/rust-parse.cc +++ b/gcc/rust/parse/rust-parse.cc @@ -118,5 +118,4 @@ extract_module_path (const AST::AttrVec &inner_attrs, return path; } - } // namespace Rust |