about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Clements <clements@racket-lang.org>2013-04-29 13:16:02 -0700
committerJohn Clements <clements@racket-lang.org>2013-05-20 11:49:20 -0700
commit05ab83eea80413ef4d7714cae93a30f24e2fff5c (patch)
treee994b94611dd00cc85f6c8bd9f832f6577e809ab
parent975f2649839c945660339b8929a04432b1562635 (diff)
downloadrust-05ab83eea80413ef4d7714cae93a30f24e2fff5c.tar.gz
rust-05ab83eea80413ef4d7714cae93a30f24e2fff5c.zip
parser comment
-rw-r--r--src/libsyntax/parse/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index cfef9c49879..a7ba67901e8 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2496,6 +2496,7 @@ pub impl Parser {
         @ast::pat { id: self.get_id(), node: pat, span: mk_sp(lo, hi) }
     }
 
+    // parse ident or ident @ pat
     // used by the copy foo and ref foo patterns to give a good
     // error message when parsing mistakes like ref foo(a,b)
     fn parse_pat_ident(&self,