diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-09-25 22:47:10 +0800 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2020-11-28 21:13:21 +0000 |
commit | 41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb (patch) | |
tree | 82793a1b58ba8507a220a4173896e2b88c43c612 /gcc/rust/lex/rust-token.cc | |
parent | 636b1630184a37a9d5647cff19103bca34c8f125 (diff) | |
download | gcc-41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb.zip gcc-41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb.tar.gz gcc-41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb.tar.bz2 |
Added more error_at formatting fixes
Debug for parsing failure with partially consolidated lifetime parsing
More debug for parsing failure
Corrected the apparent lack of skip_token in parse_lifetime_param()
Diffstat (limited to 'gcc/rust/lex/rust-token.cc')
-rw-r--r-- | gcc/rust/lex/rust-token.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/lex/rust-token.cc b/gcc/rust/lex/rust-token.cc index 84462e6..e47692c 100644 --- a/gcc/rust/lex/rust-token.cc +++ b/gcc/rust/lex/rust-token.cc @@ -106,8 +106,7 @@ Token::get_str () const { rust_error_at (get_locus (), "attempted to get string for '%s', which has no string. " - "returning empty string " - "instead.", + "returning empty string instead.", get_token_description ()); return empty; } |