Patrick Walton
|
a0617eae68
|
librustc: Eliminate most expressions of the form a.b() that are not method calls. rs=refactoring
|
2012-11-29 17:51:56 -08:00 |
|
Graydon Hoare
|
ce24d37759
|
syntax: slight improvement in fidelity of printing tokens. Still not great.
|
2012-11-29 12:09:11 -08:00 |
|
Paul Stansifer
|
7051d622c0
|
Properly sync macro_parser.rs after it escapes out to the Rust parser. Closes #3201.
|
2012-11-29 12:09:11 -08:00 |
|
Paul Stansifer
|
9ff8d18766
|
Fix trace_macros so that it works.
|
2012-11-29 12:09:11 -08:00 |
|
Paul Stansifer
|
15e03e1e5e
|
Forbid attrs on macros, since we don't handle them properly yet.
|
2012-11-29 12:09:11 -08:00 |
|
Paul Stansifer
|
6174a30d7c
|
Respect semicolons always when expanding statments.
|
2012-11-29 12:09:11 -08:00 |
|
Paul Stansifer
|
45bcb10204
|
Forbid item macros from occuring where statement macros might occur, and allow item macros to look like statement/expr macros.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
0f707f42c8
|
Distinguish stmt_mac s that are followed by semicolons and those that aren't.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
e77491bd87
|
Make the parser handle stmt macros that might be exprs at the end of blocks.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
bd92499c5e
|
Allow parsing of macros in statement position.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
9814e58815
|
No longer parse the delimiters of the RHS of a macro as part of the expansion.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
ba354b1726
|
Allow the expansion of old-style expr macros in stmt position.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
b7fcc9b52e
|
Use biased_match! to avoid over-deep indentation in expand.rs.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
cf26a7d7b9
|
Make it possible to expand stmt macros.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
ee076f63f9
|
Allow for macros to occur in statement position.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
fca52554e7
|
Make it possible to invoke item macros without passing identifier arguments.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
cafea5ecb6
|
Grammaticalinate an error message.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
9845a4be5a
|
Allow macro_rules! macros to expand to expressions or items.
|
2012-11-29 12:09:10 -08:00 |
|
Patrick Walton
|
c946c87b6f
|
libsyntax: Remove the "by-mutable-ref" obsolete syntax error; it blocks useful function argument patterns. Add a test for the latter. r=brson
|
2012-11-29 12:06:36 -08:00 |
|
Brian Anderson
|
5a282ec26f
|
core: Convert some records to structs
|
2012-11-28 21:50:09 -08:00 |
|
Brian Anderson
|
65bd40e300
|
Remove uses of #[merge]
|
2012-11-28 17:09:26 -08:00 |
|
Brian Anderson
|
16f72df704
|
Merge remote-tracking branch 'erickt/time'
Conflicts:
src/libstd/time.rs
|
2012-11-28 14:49:58 -08:00 |
|
Brian Anderson
|
42c2c2ab2f
|
Remove parser hack
|
2012-11-28 14:39:48 -08:00 |
|
Brian Anderson
|
fc06114ddf
|
Merge remote-tracking branch 'brson/companion' into incoming
Conflicts:
src/compiletest/compiletest.rs
src/libcargo/cargo.rs
src/libcore/core.rs
src/librustc/rustc.rs
src/librustdoc/rustdoc.rc
|
2012-11-28 13:17:33 -08:00 |
|
Brian Anderson
|
8179e268ef
|
Register snapshots
|
2012-11-28 12:33:00 -08:00 |
|
Patrick Walton
|
669fbddc44
|
librustc: Add explicit self to IterBytes. r=nmatsakis
|
2012-11-28 11:36:04 -08:00 |
|
Patrick Walton
|
07f4031bb4
|
libsyntax: Implement a macro die! to replace the fail expression. r=brson
|
2012-11-28 11:28:56 -08:00 |
|
Patrick Walton
|
61cfec3c52
|
librustc: Parse extern "C" { ... } . r=brson
|
2012-11-28 11:28:16 -08:00 |
|
Patrick Walton
|
1c348e6e38
|
librustc: Implement @mut [T] as the new replacement for @[mut T]
|
2012-11-27 09:23:31 -08:00 |
|
Erick Tryzelaar
|
32763caa60
|
auto_serialize should use explicit refs (fixes #4044)
|
2012-11-26 22:31:48 -08:00 |
|
Brian Anderson
|
be6613e048
|
Remove the crate language
|
2012-11-26 18:13:54 -08:00 |
|
Brian Anderson
|
81a79603c0
|
Add a temporary hack to divert the parser to an alternate file
|
2012-11-26 18:13:54 -08:00 |
|
Brian Anderson
|
58e26243a7
|
syntax: Add a hack to support the int-template pattern
|
2012-11-26 18:13:54 -08:00 |
|
Patrick Walton
|
e6d87a3ef4
|
libsyntax: Implement deriving correctly for type-parameterized structs and enums. r=brson
|
2012-11-21 10:27:37 -08:00 |
|
Patrick Walton
|
57588edf3b
|
libsyntax: Implement deriving via a syntax extension for the IterBytes trait. r=brson
|
2012-11-21 10:27:34 -08:00 |
|
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 |
|