diff options
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r-- | gcc/rust/parse/rust-parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/rust/parse/rust-parse.h b/gcc/rust/parse/rust-parse.h index 1e7e526..315d3fc 100644 --- a/gcc/rust/parse/rust-parse.h +++ b/gcc/rust/parse/rust-parse.h @@ -95,6 +95,11 @@ template <typename ManagedTokenSource> class Parser { public: /** + * Consume a token + */ + void skip_token (); + + /** * Consume a token, reporting an error if it isn't the next token * * @param t ID of the token to consume |