]> git.lizzy.rs Git - rust.git/commitdiff
Fix span tests
authorSeo Sanghyeon <sanxiyn@gmail.com>
Sun, 5 May 2013 18:09:19 +0000 (03:09 +0900)
committerSeo Sanghyeon <sanxiyn@gmail.com>
Sun, 5 May 2013 18:09:19 +0000 (03:09 +0900)
src/libsyntax/parse/mod.rs

index 74e4f562ce5c53fc08431859030f0434b9dd54f9..4e6abc68ffa75dc1302cfca30b493bbb82e6f7ff 100644 (file)
@@ -590,7 +590,7 @@ fn parser_done(p: Parser){
                                                                types: ~[]},
                                                            None // no idea
                                                           ),
-                                      span: sp(0,3)}, // really?
+                                      span: sp(0,1)},
                        id: 4 // fixme
                    })
     }
@@ -627,7 +627,7 @@ fn parser_done(p: Parser){
                                                            types: ~[]},
                                                        None // no idea
                                                    ),
-                                                  span: sp(6,9)}, // bleah.
+                                                  span: sp(6,7)},
                                     id: 4 // fixme
                                 }],
                                 output: @ast::Ty{id:5, // fixme