Skip to content

Commit 8af2066

Browse files
committed
---
yaml --- r: 16325 b: refs/heads/try c: 9c1910a h: refs/heads/master i: 16323: 83ac68e v: v3
1 parent f99be61 commit 8af2066

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: ab8fa495d08f64c5a82bc8ed39f9e2066aec4b6b
5+
refs/heads/try: 9c1910a66db95468608c9cc02a5012e3db7f4e09
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/libsyntax/parse/common.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,11 @@ impl parser_common for parser {
9494

9595
fn eat_keyword(word: str) -> bool {
9696
self.require_keyword(word);
97-
alt copy self.token {
98-
token::IDENT(sid, false) {
97+
98+
// FIXME: this gratuitous use of @ is to
99+
// workaround LLVM bug #13042
100+
alt @self.token {
101+
@token::IDENT(sid, false) {
99102
if str::eq(word, self.get_str(sid)) {
100103
self.bump();
101104
ret true;

0 commit comments

Comments
 (0)