rust/src/libsyntax/parse
Alex Crichton eb2f1d925f rustc: Add support for extern crate foo as bar
The compiler will now issue a warning for crates that have syntax of the form
`extern crate "foo" as bar`, but it will still continue to accept this syntax.
Additionally, the string `foo-bar` will match the crate name `foo_bar` to assist
in the transition period as well.

This patch will land hopefully in tandem with a Cargo patch that will start
translating all crate names to have underscores instead of hyphens.

cc #23533
2015-03-24 14:55:15 -07:00
..
lexer don't use Result::ok just to be able to use unwrap/unwrap_or 2015-03-20 08:19:13 +01:00
attr.rs syntax: use lookahead to distinguish inner and outer attributes, instead of passing the latter around. 2015-03-13 11:36:30 +02:00
classify.rs Teach libsyntax about while let 2014-10-10 20:30:31 -04:00
common.rs Allow trailing commas in array patterns and attributes 2014-11-30 22:28:54 +13:00
mod.rs rustc: Add support for extern crate foo as bar 2015-03-24 14:55:15 -07:00
obsolete.rs rustc: Add support for extern crate foo as bar 2015-03-24 14:55:15 -07:00
parser.rs rustc: Add support for extern crate foo as bar 2015-03-24 14:55:15 -07:00
token.rs Auto merge of #23229 - aturon:stab-path, r=alexcrichton 2015-03-13 01:00:02 +00:00