summary refs log tree commit diff
path: root/doc/tutorial-macros.md
AgeCommit message (Collapse)AuthorLines
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-3/+6
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-3/+3
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-03-22Copyedit macro tutorialTim Chevalier-23/+27
2013-02-14remove die definition and use in doc testsNick Desaulniers-3/+3
2013-02-08Typo s/recusive/recursive/Olivier Saut-1/+1
2013-02-01Remove fail keyword from lexer & parser and clean up remaining calls toNick Desaulniers-3/+3
fail Fix merge conflicts - Issue 4524
2013-01-12doc: Fix spelling error in macro tutorialPeter Williams-1/+1
2012-12-29Remove spurious semicolons at the end of macro_rules! definitions.Franklin Chen-2/+2
2012-12-16Add a section to the macro tutorial about recursive macros.Paul Stansifer-1/+191
2012-12-16Reword some things in the macro tutorial.Paul Stansifer-8/+9
2012-12-06Be a bit more explicit about the nature of macro RHSes.Paul Stansifer-0/+6
2012-12-06Update macro tutorial to recognize item/statement macros and be clearerPaul Stansifer-6/+27
about invocation location vs. interpolation location.
2012-10-20Talk about ends, rather than means, in macro tutorial introduction.Paul Stansifer-5/+5
2012-10-17Add examples to the parsing limitations section of the macro tutorial.Paul Stansifer-8/+13
(Thanks to bstrie for pointing them out!)
2012-10-09Fix tutorial breakage.Graydon Hoare-6/+1
2012-10-09Copyedit the macro tutorialTim Chevalier-44/+73
I hope I haven't introduced any grievous errors :-)
2012-10-04Fixed a few typos in the tutorials.Gonçalo Cabrita-2/+2
2012-09-26docs: Give all tutorials consistent titles and intro sectionsBrian Anderson-5/+7
2012-09-05doc: Split macros out into a separate tutorialPatrick Walton-0/+152