diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-03-14 14:29:58 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-03-14 16:34:50 +0100 |
commit | 313e9890d85b688f538fed52d158b4b4f4aea9dc (patch) | |
tree | 1e6b8e44c8c9970894be9ff8b1dde0f727443a3d /gcc/rust/parse/rust-parse.cc | |
parent | 41f402f0b19c7e4f19f8d4d65d15223d2752f302 (diff) | |
download | gcc-313e9890d85b688f538fed52d158b4b4f4aea9dc.zip gcc-313e9890d85b688f538fed52d158b4b4f4aea9dc.tar.gz gcc-313e9890d85b688f538fed52d158b4b4f4aea9dc.tar.bz2 |
parser: Allow parsing stmts without closing semicolon
In certain cases such as macro matching or macro expansion, it is
important to allow the parser to return a valid statement even if no
closing semicolon is given. This commit adds an optional parameter to
the concerned functions to allow a lack of semicolon those special cases
Diffstat (limited to 'gcc/rust/parse/rust-parse.cc')
0 files changed, 0 insertions, 0 deletions