aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-session-manager.cc
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-08-20 11:51:25 +0800
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 21:13:20 +0000
commitb758ec724cc06cb866a72ce17dbfd8a426cf21db (patch)
treecffb4e7c584f7da75ea42e57011c5a1d160d67a2 /gcc/rust/rust-session-manager.cc
parentc26f60f6a28394e98ac1d830cbe8f632ef576dbb (diff)
downloadgcc-b758ec724cc06cb866a72ce17dbfd8a426cf21db.zip
gcc-b758ec724cc06cb866a72ce17dbfd8a426cf21db.tar.gz
gcc-b758ec724cc06cb866a72ce17dbfd8a426cf21db.tar.bz2
Lexer cleanup
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
-rw-r--r--gcc/rust/rust-session-manager.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index 4308ae3..29933d5 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -340,7 +340,7 @@ Session::enable_dump (::std::string arg)
{
error_at (
UNKNOWN_LOCATION,
- "dumping all is not supported as of now. choose 'lex' or 'parse'");
+ "dumping all is not supported as of now. choose 'lex', 'parse', or 'target_options");
return false;
}
else if (arg == "lex")
@@ -379,13 +379,13 @@ Session::enable_dump (::std::string arg)
else if (arg == "")
{
error_at (UNKNOWN_LOCATION,
- "dump option was not given a name. choose 'lex' or 'parse'");
+ "dump option was not given a name. choose 'lex', 'parse', or 'target_options'");
return false;
}
else
{
error_at (UNKNOWN_LOCATION,
- "dump option '%s' was unrecognised. choose 'lex' or 'parse'",
+ "dump option '%s' was unrecognised. choose 'lex', 'parse', or 'target_options",
arg.c_str ());
return false;
}