diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2020-06-14 14:17:51 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2020-06-14 14:17:51 -0700 |
| commit | 840176ab6f9fdda0878bd0ba1297437b506c6b7c (patch) | |
| tree | 7e30010316c823ae752f8850265fb45d337ea165 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 4fb54ed484e2239a3e9eff3be17df00d2a162be3 (diff) | |
| download | rust-840176ab6f9fdda0878bd0ba1297437b506c6b7c.tar.gz rust-840176ab6f9fdda0878bd0ba1297437b506c6b7c.zip | |
asm: Unify pseudo-keyword parsing using `eat`, rather than a final `expect`
Currently, `asm!` parsing uses an `expect` for the last parsed pseudo-keyword (`sym`), which makes it difficult to extend without simultaneously refactoring. Use `eat` for the last pseudo-keyword, and then add an `else` that fails parsing. No change to error output.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
