summaryrefslogtreecommitdiff
path: root/src/macro_rules
AgeCommit message (Expand)AuthorFilesLines
2019-10-26Merge remote-tracking branch 'remotes/origin/master' into nightly-1.29John Hodge3-1/+8
2019-10-26All - Compilation fixes on VS2015 (constructors, warnings, missing files, cla...John Hodge1-3/+3
2019-06-09macro_rules - Handle open range operatorsJohn Hodge1-1/+23
2019-05-28Allow square brackets in macro definitionsMichael Howell1-0/+1
2019-05-19All - Switch to using interned (de-duplicated) RcString-s instead of std::str...John Hodge3-20/+20
2019-05-05parse/expand/resolve - `macro` macros use their own module as the resolve rootJohn Hodge3-8/+17
2019-03-24macro_rules - Fix bad "codegen" for $()+John Hodge1-2/+38
2019-03-24HIR Macro Export - Hacky workarounds and defensive asserts with macro exportsJohn Hodge1-1/+5
2019-01-27macro_rules - Rework pattern matching into a "compiled" format (easier to dis...John Hodge4-842/+443
2019-01-21macro_rules - :lifetime fragmentJohn Hodge4-1/+25
2019-01-20macro_rules - Handle `dyn Trait` in :tyJohn Hodge1-1/+3
2019-01-20macro_rules - Handle `[auto] trait` in :itemJohn Hodge1-16/+46
2019-01-04macro_rules eval - Handle `macro_rules!` in :item captureJohn Hodge1-0/+1
2018-12-30Parse/Macro - Handle `crate` as a visibility specifierJohn Hodge2-2/+3
2018-12-28macro_rules - Support for the :vis fragmentJohn Hodge5-0/+55
2018-11-04All - Cleaning up some memory leaksJohn Hodge2-1/+7
2018-07-29All - Initial work on supporting 1.29 as a target versionJohn Hodge2-9/+9
2018-06-04All - Ensure that all files have a header comment, remove some dead codeJohn Hodge2-0/+10
2018-06-02AST - Remove old serialisation code (now all done on HIR)John Hodge2-87/+4
2018-05-20Parse - Cleanup TODOsJohn Hodge1-1/+2
2018-05-20AST - Rename MetaItem and MetaItems to Attribute and AttributeListJohn Hodge1-1/+1
2018-02-24macro_rules - Allow macros for :typeJohn Hodge1-1/+10
2018-02-24macro_rules - Fix #59 and add tests for various macro quirksJohn Hodge1-1/+4
2018-02-21macro_rules - Handle macros in :itemJohn Hodge1-1/+49
2017-12-30macro_rules - Fix a few edge casesJohn Hodge2-5/+52
2017-11-26macro_rules - Fix parsing of loop labelsJohn Hodge1-1/+8
2017-11-18macro_rules - Support parsing if-elseif chainsJohn Hodge1-6/+24
2017-11-12macro_rules - Allow ? in expressionsJohn Hodge1-0/+3
2017-10-29macro_rules - Fix range of placeholder valueJohn Hodge1-1/+1
2017-10-29macro_rules - Handle :path tokensJohn Hodge1-0/+3
2017-10-29Expand - Add parent spans to TTStream[O]John Hodge1-9/+8
2017-10-29macro_rules - Patch around a quirk in error-chainJohn Hodge1-2/+7
2017-09-29Parse - Remove TOK_ATTR_OPEN and TOK_CATTR_OPENJohn Hodge2-4/+6
2017-09-23Expand - Little fixes for libpanic_unwind win32John Hodge1-0/+3
2017-09-10macro_rules - Fix some holes in consume_*John Hodge1-1/+8
2017-08-27macro_rules! - Use a limited parser for determining arm matchJohn Hodge2-1/+1173
2017-06-11Expand - Make file!/line! get the invocation location of a macroJohn Hodge2-5/+12
2017-06-11Parse - Support chaining of spans (for macro expansions)John Hodge2-8/+8
2017-06-04All - Compile and run fixes in MSVCJohn Hodge (bugs)1-1/+1
2017-05-13Parse - Remove TOK_MACROJohn Hodge2-4/+4
2016-12-24No more tears!ubsan5-588/+588
2016-11-23macro_rules! - Rework handling of captures to support arms with mismatching c...John Hodge1-119/+53
2016-11-22macro_rules! - Handle cases where :ident and :expr appear in the same positionJohn Hodge1-2/+89
2016-11-02Hygiene - Possibly workingJohn Hodge3-5/+8
2016-11-02Hygiene fixes (disabled still)John Hodge1-2/+2
2016-11-02Parse - Refactor TTStream and TokenTree into their own filesJohn Hodge1-1/+1
2016-11-02Parse - Rework hygiene (with spelling fix) for take 2John Hodge2-6/+20
2016-11-02All - Hack in start of macro hygine - requires rework so is disabledJohn Hodge1-4/+5
2016-10-30macro_rules! - Allow _ to match :patJohn Hodge1-0/+1
2016-10-26macro_rules! eval - Refactor arm selection to prefer concrete token matches o...John Hodge1-98/+100