Erick Tryzelaar
cf6e21a17f
libsyntax: change attr::parse_seq_* to take &Token
2013-02-26 00:22:30 -08:00
bors
6439e286f9
auto merge of #5111 : catamorphism/rust/authors, r=catamorphism
2013-02-26 00:21:38 -08:00
Erick Tryzelaar
3180d22dde
libsyntax: change parse_trait_ref_list to take a &Token
2013-02-26 00:00:04 -08:00
Erick Tryzelaar
bff22cf166
libsyntax: add some explicit copies
2013-02-25 23:37:45 -08:00
bors
e1a4e66755
auto merge of #5109 : bstrie/rust/decapclause, r=pcwalton
...
I also deleted a test that would be entirely useless without capture clauses.
2013-02-25 23:30:38 -08:00
Erick Tryzelaar
752befe2a6
libsyntax: change token_is_{word,keyword} to take &Token
2013-02-25 23:15:22 -08:00
Erick Tryzelaar
272c25e938
libsyntax: minor cleanup
2013-02-25 22:52:57 -08:00
Erick Tryzelaar
3635480b15
libsyntax: change expect to take &token::Token
2013-02-25 22:30:32 -08:00
Erick Tryzelaar
f3965829ff
libsyntax: change flip_delimiter to take a &token::Token
2013-02-25 22:08:09 -08:00
Erick Tryzelaar
4650da5888
libsyntax: change eat to take a &token
2013-02-25 21:45:46 -08:00
Erick Tryzelaar
1deb858b22
libsyntax: is_keyword should take a &~str
2013-02-25 21:23:21 -08:00
Erick Tryzelaar
8b94ef0302
libsyntax: fix the span in parse_bottom_expr's INTERPOLATED handler
2013-02-25 21:00:53 -08:00
bors
40ffaeaea8
auto merge of #5103 : dbaupp/rust/emacs-mode-update, r=graydon
...
Copy the keyword list from rust.vim, and add `self` so that it is highlighted
(being liberal with the correct categories).
I'm not quite willing to dive in to clean up the emacs code yet, but at least this gets a (more) modern syntax highlighting list.
2013-02-25 20:24:40 -08:00
Tim Chevalier
046fc5e0b1
Add Kang Seonghoon to AUTHORS
2013-02-25 18:46:36 -08:00
bors
9616b3d11e
auto merge of #5089 : sanxiyn/rust/llvm-struct, r=pcwalton
...
Note on `struct_elt`: the comment is wrong, it actually dereferences the nth element of LLVM struct type if it is a pointer. That's why `T_ptr` is removed in `callee.rs`.
2013-02-25 18:36:39 -08:00
bors
580df4d997
auto merge of #5084 : oncemoreification/rust/issue-4517, r=brson
...
Patch for #4517
This works for fixed vectors, but I am unclear how slices should be printed, simply '&[...]' or...
e.i. How should regions be printed?
2013-02-25 17:36:40 -08:00
Ben Striegel
abc4ea2001
Stop parsing capture clauses
2013-02-25 19:49:28 -05:00
bors
6e5705a877
auto merge of #5072 : youknowone/rust/repeat_count, r=brson
...
Fix issue #3645
2013-02-25 16:18:46 -08:00
bors
08d870e566
auto merge of #5095 : thestinger/rust/smallintmap, r=catamorphism
...
Closes #4738 .
The `std::smallintmap` module doesn't use an implicit @ box so I just added that explicitly for now to make porting simple.
2013-02-25 15:18:45 -08:00
Patrick Walton
00d8db5b5d
Revert "test: De-~mut the test suite. rs=demuting"
...
This reverts commit f63efdc210
.
2013-02-25 15:16:36 -08:00
Patrick Walton
f63efdc210
test: De-~mut the test suite. rs=demuting
2013-02-25 15:15:42 -08:00
Patrick Walton
a08eda4b63
test: Residual de-muting of the test suite. rs=demuting
2013-02-25 15:15:20 -08:00
Patrick Walton
4b9b32839e
etc: Add a suppression for more enum instruction scheduling botches. rs=burningtree
2013-02-25 10:42:51 -08:00
Felix S. Klock II
b8dd2d8c67
Fix typo in grammar: underscore, not minus, can appear amongst hex digits.
2013-02-25 17:30:02 +01:00
Erick Tryzelaar
d20438695e
libsyntax: make lexer vecs_implicitly_copyable-free
2013-02-25 08:12:01 -08:00
Erick Tryzelaar
f14409c528
libsyntax: progress on making syntax::visit vecs_implicitly_copyable-free
2013-02-25 07:49:34 -08:00
Erick Tryzelaar
9ac5262bdf
libsyntax: convert visit to pass ty_params by reference
2013-02-25 07:27:01 -08:00
Erick Tryzelaar
297c6e11bb
libsyntax: minor cleanup
2013-02-25 07:03:48 -08:00
Erick Tryzelaar
44f5537abf
libsyntax: add explicit modes where required to copy strs/vecs
2013-02-25 06:40:53 -08:00
Erick Tryzelaar
5b9e110eab
libsyntax: Convert ast::attribute_ to store a @meta_item
2013-02-25 06:19:44 -08:00
Huon Wilson
4bf94a7b30
Emacs: Update emacs mode to be more similar to the vim mode.
...
Copy the keyword list, and add `self` so that it is somewhat highlighted
(being liberal with the correct categories).
2013-02-25 23:42:46 +11:00
Patrick Walton
b26d434ad1
test: xfail-pretty some benchmarks. rs=burningtree
2013-02-24 10:57:16 -08:00
Jeong YunWon
f0d0b5c116
Report error for non constant vector repeat count
...
Fix issue #3645
2013-02-25 00:21:03 +09:00
Patrick Walton
f9f942bb14
test: Fix comments in pretty-printed test. rs=burningtree
2013-02-23 23:33:50 -08:00
oncemoreification
c4ef822dc7
Fix slice printing
2013-02-23 21:46:36 -08:00
Peter Williams
a712d828f9
libcore: remove default to_str implementations for pointer types
...
These couldn't be overridden and so ended up being quite restrictive. This has
the side effect of changing the stringification of ~vecs, but nothing in
relied on this. Closes #4869 .
2013-02-23 17:43:08 -05:00
Daniel Micay
1afddff97f
remove oldsmallintmap
...
Closes #4738
2013-02-23 01:40:17 -05:00
Patrick Walton
82062a6348
test: De-mut the test suite. rs=demuting
2013-02-22 18:35:01 -08:00
Patrick Walton
1144fdde1f
librustpkg: De-mut librustdoc and librustpkg. rs=demuting
2013-02-22 16:09:17 -08:00
Patrick Walton
ce70736363
etc: Suppress the remaining Valgrind error in rustdoc. rs=burningtree
2013-02-22 16:09:16 -08:00
Patrick Walton
a07192fadd
libsyntax: Remove all mutable fields from libsyntax. rs=demuting
2013-02-22 16:09:16 -08:00
Patrick Walton
934c938f90
libsyntax: De-mut the parser. rs=demuting
2013-02-22 16:09:16 -08:00
Patrick Walton
77dc3ad810
libsyntax: De-mut the macro parser. rs=demuting
2013-02-22 16:09:16 -08:00
Patrick Walton
17dcaee9d1
libsyntax: De-mut the pipe compiler
2013-02-22 16:09:15 -08:00
bors
1a132b3721
auto merge of #5092 : brson/rust/legacy, r=brson
2013-02-22 15:09:36 -08:00
Brian Anderson
ddd9fb6c1e
Remove legacy_modes from test cases
2013-02-22 14:53:44 -08:00
bors
1bc4e3f6a2
auto merge of #5078 : bblum/rust/incoming, r=brson
...
r? @brson
2013-02-22 13:39:34 -08:00
bors
c316189d15
auto merge of #5081 : brson/rust/pipes, r=pcwalton
...
r?
2013-02-22 11:24:38 -08:00
bors
ba7a870660
auto merge of #5051 : bstrie/rust/deimpself, r=pcwalton
...
With the exception of three places where explicit self ran into borrowing errors. Will try those again once borrowing is refined.
2013-02-22 10:24:43 -08:00
bors
2f12e26d06
auto merge of #5083 : graydon/rust/gc, r=graydon
...
r? @pcwalton
Local testing shows it's correctly putting things like ~(@10) in the managed heap. Not entirely sure how to turn such tests (which just log annihilation stats) into a regression test; we don't have much in the way of feedback from the annihilator. Open to suggestions. I will want to be keeping more detailed runtime stats on the gc as I proceed.
2013-02-22 08:39:41 -08:00