summary refs log tree commit diff
path: root/src/libsyntax/ext/tt/macro_rules.rs
AgeCommit message (Expand)AuthorLines
2016-08-07Make metavariables hygienic.Jeffrey Seyfried-2/+2
2016-07-13Start a best-effort warning cycle.Jeffrey Seyfried-1/+1
2016-07-13cleanup: Refactor parser method `finish_parsing_statement` -> `parse_full_stmt`.Jeffrey Seyfried-7/+1
2016-07-12Parse macro-expanded statements like ordinary statements.Jeffrey Seyfried-1/+7
2016-07-04Revert "Change `fold_tt` and `fold_tts` to take token trees by value (instead...Jeffrey Seyfried-4/+5
2016-06-26Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrcJeffrey Seyfried-22/+19
2016-06-26Rollup merge of #34385 - cgswords:tstream, r=nrcJeffrey Seyfried-7/+9
2016-06-25Rollup merge of #34403 - jonathandturner:move_liberror, r=alexcrichtonJeffrey Seyfried-1/+1
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-06-21Refactored tokentrees into their own files in preparation for tokenstreams. M...cgswords-7/+9
2016-06-14Change `fold_tt` and `fold_tts` to take token trees by value (instead of by r...Jeffrey Seyfried-21/+19
2016-06-13Add support for macro expansion inside trait itemsJoseph Dunne-0/+15
2016-06-07Auto merge of #33982 - LeoTestard:remove-check-matcher-old, r=pnkfelixbors-233/+18
2016-06-06Remove the old FOLLOW checking (aka `check_matcher_old`).Leo Testard-233/+18
2016-05-26Reject a LHS formed of a single sequence TT during `macro_rules!` checking.Leo Testard-9/+4
2016-05-24Avoid iterating two times over the list of LHSes.Leo Testard-5/+4
2016-05-24Make sure that macros that didn't pass LHS checking are not expanded.Leo Testard-33/+53
2016-04-24syntax: Make static/super/self/Self keywords + special ident cleanupVadim Petrochenkov-3/+3
2016-04-24syntax: Get rid of token::IdentStyleVadim Petrochenkov-12/+10
2016-04-13implement RFC amendment 1494Alex Burka-0/+1
2016-03-02Fix the search paths for macro-expanded non-inline modulesJeffrey Seyfried-1/+7
2016-02-11Remove some unnecessary indirection from AST structuresVadim Petrochenkov-2/+2
2016-02-11[breaking-change] don't glob export ast::KleeneOp variantsOliver 'ker' Schneider-2/+2
2016-01-27trpl: fix macro follow setsAlex Burka-0/+1
2016-01-23add `[` to FOLLOW(ty) and FOLLOW(path)Alex Burka-1/+1
2016-01-07extending FOLLOW(NT) as specified in amendment.Felix S. Klock II-4/+7
2016-01-07macro_rules: proper FIRST/FOLLOW computations for checking macro_rules validity.Felix S. Klock II-16/+500
2016-01-06Auto merge of #30654 - nrc:panictry, r=brsonbors-2/+2
2016-01-04Add test for "malformed macro lhs" and change back span_bug to span_fatalGuillaume Gomez-2/+2
2015-12-31Cut out a bunch of Result and panictry! boilerplate from libsyntax.Nick Cameron-2/+2
2015-12-30use structured errorsNick Cameron-4/+7
2015-11-25Auto merge of #30011 - jonas-schievink:macro-context, r=nrcbors-10/+10
2015-11-24Remove "this"Jonas Schievink-1/+1
2015-11-24Fix unreachable code in libsyntaxManish Goregaokar-2/+2
2015-11-23Print the macro context name on incomplete parseJonas Schievink-10/+10
2015-11-16Auto merge of #29828 - sanxiyn:check-macro, r=nrcbors-49/+63
2015-11-14Check macro definition and do not expand invalid macrosSeo Sanghyeon-3/+22
2015-11-14Reindent codeSeo Sanghyeon-22/+22
2015-11-14Store TokenTree in MacroRulesMacroExpanderSeo Sanghyeon-28/+23
2015-11-13Auto merge of #29761 - eefriedman:rename-nopanic, r=sanxiynbors-5/+5
2015-11-10Rename _nopanic methods to remove the suffix.Eli Friedman-5/+5
2015-11-10Use deref coercionsSeo Sanghyeon-1/+1
2015-11-06remove `Tt` prefix from TokenType variantsOliver Schneider-28/+34
2015-10-27Don't use panicking helpers in Parser.Eli Friedman-4/+4
2015-10-08typos: fix a grabbag of typos all over the placeCristi Cobzarenco-1/+1
2015-09-24Cleanup interfaces of Name, SyntaxContext and IdentVadim Petrochenkov-4/+4
2015-08-10add and use Span.substitute_dummy methodTim Neumann-17/+6
2015-08-07improve span of erroneous empty macro invocationTim Neumann-6/+27
2015-08-04Extend macro machinery to expand macros in typesJared Roesch-0/+6
2015-07-28remove `get_ident` and `get_name`, make `as_str` soundOliver Schneider-10/+9