Patrick Walton
|
b053f0b5e6
|
libsyntax: Fix duplication of items that occurs if #[deriving_eq] is applied to a non-enum/non-struct. r=brson
|
2012-11-21 10:27:30 -08:00 |
|
Patrick Walton
|
e0876fdfc1
|
libsyntax: Implement deriving for enums with N-ary variants. r=brson
|
2012-11-21 10:27:13 -08:00 |
|
Graydon Hoare
|
497a8b54b5
|
syntax: switch tt quoter to emit ~[tt], not tt.
|
2012-11-20 16:08:05 -08:00 |
|
Patrick Walton
|
ba01cd7fb0
|
libsyntax: Long line. rs=make-tidy
|
2012-11-20 11:59:20 -08:00 |
|
Patrick Walton
|
a7aecc46a5
|
rustc: Implement "deriving" for monomorphic structs via a syntax extension. r=brson
|
2012-11-20 11:58:19 -08:00 |
|
Patrick Walton
|
318e534895
|
rustc: Implement explicit self for Eq and Ord. r=graydon
|
2012-11-19 15:33:11 -08:00 |
|
Brian Anderson
|
9bed0ddb0e
|
Fix parsing of interpolated paths
|
2012-11-19 14:00:39 -08:00 |
|
Brian Anderson
|
371be3c6c4
|
Remove unused file_type enum from the parser
|
2012-11-18 18:09:41 -08:00 |
|
Brian Anderson
|
74b2e99797
|
Report errors better when failing to open files for sub-parsers
|
2012-11-18 18:09:41 -08:00 |
|
Brian Anderson
|
72cc1aca17
|
Parse file mods from .rs files
|
2012-11-18 18:09:41 -08:00 |
|
Brian Anderson
|
ddbff6fd2a
|
syntax: Remove cdir_syntax. Unused
|
2012-11-18 18:09:41 -08:00 |
|
Brian Anderson
|
a41903d234
|
Remove some unused code from lexer
|
2012-11-18 15:00:21 -08:00 |
|
Brian Anderson
|
1a1e99c27d
|
Merge remote-tracking branch 'brson/codemap'
Conflicts:
src/libsyntax/ext/source_util.rs
|
2012-11-17 18:38:39 -08:00 |
|
Brian Anderson
|
e621e68c60
|
Remove unused MultiByteChar.sum field from codemap
|
2012-11-16 15:52:33 -08:00 |
|
Brian Anderson
|
7c72fd89f1
|
Add some docs to codemap
|
2012-11-16 15:15:17 -08:00 |
|
Brian Anderson
|
2af088529f
|
Remove incorrect comment from codemap
|
2012-11-16 14:55:52 -08:00 |
|
Graydon Hoare
|
5005be67cc
|
syntax: rename quote! to quote_tokens!, add quote_{expr,type,item,pat,stmt}!
r=brson, Close #3976.
|
2012-11-16 14:50:49 -08:00 |
|
Brian Anderson
|
1ac28c36ac
|
Remove unused types from codemap
|
2012-11-16 14:35:43 -08:00 |
|
Brian Anderson
|
4a5b28ff0c
|
Stop tracking CodeMap offsets in the parse session. Big simplification
|
2012-11-16 14:22:09 -08:00 |
|
Brian Anderson
|
2374154ded
|
Stop storing char positions in CodeMap
|
2012-11-16 14:10:17 -08:00 |
|
Brian Anderson
|
81d20156cd
|
Change spans to use byte offsets instead of char offsets
|
2012-11-16 12:06:44 -08:00 |
|
Brian Anderson
|
8cba337cce
|
Remove CodeMap.lookup_byte_pos
|
2012-11-15 17:32:14 -08:00 |
|
Brian Anderson
|
d5e35e3e87
|
Convert CodeMap and FileMap to use &self instead of @self
|
2012-11-15 15:00:49 -08:00 |
|
Brian Anderson
|
bcccf333ab
|
Add some comments to codemap and lexer
|
2012-11-15 14:43:31 -08:00 |
|
Brian Anderson
|
4a0f4f5e31
|
Refactor the lexer to use FilePos types
|
2012-11-15 14:24:53 -08:00 |
|
Brian Anderson
|
b1dff40bae
|
Create CodeMap.add_filemap
|
2012-11-14 21:56:58 -08:00 |
|
Brian Anderson
|
3a9ccd53e5
|
Factor out some position management code in the lexer
|
2012-11-14 21:56:55 -08:00 |
|
Brian Anderson
|
8069d2f266
|
Track character and byte positions together in the parser
|
2012-11-14 16:34:50 -08:00 |
|
Brian Anderson
|
f67bfe9738
|
Add types for character position and byte position in the codemap
|
2012-11-14 15:18:29 -08:00 |
|
Brian Anderson
|
9ecf86343a
|
Camel case all the codemap types except span
|
2012-11-14 15:18:26 -08:00 |
|
Patrick Walton
|
32ad4ae4cd
|
librustc: Require the #[derivable] attribute, remove the significance of "impl Foo : Bar;", and allow only a subset of methods in a trait to be derived. r=brson
|
2012-11-14 11:36:55 -08:00 |
|
Graydon Hoare
|
ac0fd0ddc9
|
rustc: fix pp build breakage.
|
2012-11-13 10:54:10 -08:00 |
|
Patrick Walton
|
db9f8db741
|
librustc: Implement deriving with a unit return type. r=tjc
|
2012-11-13 10:37:58 -08:00 |
|
Graydon Hoare
|
c6d0117bf6
|
rustc: add new token-tree based quasiquoter.
|
2012-11-13 08:57:31 -08:00 |
|
Graydon Hoare
|
12b212f38c
|
rustc: Remove the case of foo![...] as invocation syntax. foo!(...) and foo!{...} only.
|
2012-11-13 08:57:31 -08:00 |
|
Graydon Hoare
|
f7960ac549
|
Revert "m1!{...} is now forbidden. Use m1!(...) instead."
This reverts commit 89bbaff84f .
|
2012-11-13 08:57:31 -08:00 |
|
Graydon Hoare
|
4e1ce014c8
|
cleanup: convert some remaining #foo invocations to foo! form.
|
2012-11-13 08:57:31 -08:00 |
|
Brian Anderson
|
38b9740668
|
Remove unused get_snippet function from codemap
|
2012-11-12 18:36:03 -08:00 |
|
Brian Anderson
|
b22f941487
|
Make it clearer which codemap functions use chars vs. bytes
|
2012-11-12 18:35:17 -08:00 |
|
Brian Anderson
|
2ec09c4eb9
|
Objectify the codemap
|
2012-11-12 18:24:56 -08:00 |
|
Brian Anderson
|
15a5d2ccbf
|
Convert codemap from legacy_exports
|
2012-11-12 17:26:02 -08:00 |
|
Brian Anderson
|
d115944809
|
Remove expn_info box typedef from codemap
|
2012-11-12 17:19:56 -08:00 |
|
Brian Anderson
|
18a825bda0
|
Reorder codemap decls
|
2012-11-12 17:14:15 -08:00 |
|
Brian Anderson
|
5b248a6ca8
|
Remove CodeMap box typedef from codemap
|
2012-11-12 17:09:52 -08:00 |
|
Brian Anderson
|
385a4668e5
|
Reformatting in codemap
|
2012-11-12 16:47:17 -08:00 |
|
Brian Anderson
|
9fc75e8d66
|
Move codemap doc comments to the proper place
|
2012-11-12 16:45:24 -08:00 |
|
Brian Anderson
|
1f3303163c
|
Move filemap ctors to static methods
|
2012-11-12 16:44:53 -08:00 |
|
Brian Anderson
|
5f881b48cb
|
Remove filemap box typedef from codemap
|
2012-11-12 16:41:20 -08:00 |
|
Brian Anderson
|
4c68084963
|
Convert most codemap types from records to structs
|
2012-11-12 16:21:39 -08:00 |
|
Patrick Walton
|
fe02814a63
|
rustc: Implement floating point literal inference. r=nmatsakis
|
2012-11-12 10:39:08 -08:00 |
|