aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r--gcc/rust/rust-backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index 35271b6..1dd4aba 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -332,6 +332,9 @@ public:
virtual Bexpression *string_constant_expression (const std::string &val) = 0;
// Get a char literal
+ virtual Bexpression *char_constant_expression (char c) = 0;
+
+ // Get a char literal
virtual Bexpression *wchar_constant_expression (wchar_t c) = 0;
// Return an expression for the boolean value VAL.