about summary refs log tree commit diff
path: root/src/libsyntax/ext/env.rs
AgeCommit message (Collapse)AuthorLines
2013-08-18quote_*! macros take an ExtCtxSteven Fackler-8/+20
They previously required one called "ext_cx" to be in scope. Fixes part of #7727
2013-08-11Fixed option_env! typeSteven Fackler-1/+1
The type of the result of option_env! was not fully specified in the None case, leading to type check failures in the case where the variable was not defined (e.g. option_env!("FOO").is_none()).
2013-08-08env! syntax extension changesSteven Fackler-7/+25
env! aborts compilation of the specified environment variable is not defined and takes an optional second argument containing a custom error message. option_env! creates an Option<&'static str> containing the value of the environment variable. There are no run-pass tests that check the behavior when the environment variable is defined since the test framework doesn't support setting environment variables at compile time as opposed to runtime. However, both env! and option_env! are used inside of rustc itself, which should act as a sufficient test. Close #2248
2013-06-25great renaming propagation: syntaxCorey Richardson-3/+1
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-2/+2
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+2
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22syntax/ext: convert all AstBuilder methods to a uniform syntax.Huon Wilson-2/+2
2013-05-22syntax/ext: migrate build.rs functions to AstBuilder methods.Huon Wilson-3/+3
2013-05-22syntax/ext: modernise ext_ctxt to be CamelCase and use new.Huon Wilson-1/+1
2013-05-20Implement a lint mode to detect unnecessary allocationsAlex Crichton-3/+3
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-10/+0
2013-04-27only use #[no_core] in libcoreDaniel Micay-3/+0
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-1/+1
2013-03-02librustc: Stop parsing `fn@`, `fn~`, and `fn&`Patrick Walton-1/+1
2013-03-01Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-3/+4
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-0/+2
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
2013-02-26libsyntax: remove vecs_implicitly_copyable from the syntax extensionsErick Tryzelaar-2/+2
2013-02-25libsyntax: convert visit to pass ty_params by referenceErick Tryzelaar-1/+1
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-3/+1
2013-01-23renaming to adhere to conventionsJohn Clements-2/+2
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+6
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-2/+2
2012-12-12syntax: remove remaining #syntaxext machinery. Close #3516.Graydon Hoare-8/+9
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-1/+1
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-2/+2
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-09-04libsyntax: "import" -> "use"Patrick Walton-2/+2
2012-08-26Camel case the option typeBrian Anderson-4/+4
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-2/+2
2012-08-01Convert ret to returnBrian Anderson-2/+2
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-3/+3
#2907.
2012-07-13Change (hopefully) all of the code that generates strs asts to produce ~strs.Michael Sullivan-6/+3
2012-06-29Refactor syntax exts some. Don't ever emit bare vectors.Michael Sullivan-1/+2
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-2/+2
2012-06-13Box AST identsBrian Anderson-2/+2
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+35
Per issue #2418.