Skip to content

Commit 09a288c

Browse files
committed
---
yaml --- r: 79713 b: refs/heads/try c: d8276e7 h: refs/heads/master i: 79711: a3f9ced v: v3
1 parent c41b900 commit 09a288c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: ba9fa89bfb4aae53db93e9ecac31807af96356fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
5-
refs/heads/try: 6c6d053b0177ed91071128aa5a2f57539e746987
5+
refs/heads/try: d8276e75f048955b496b1ef9ca1b3e11ca5bc306
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/ast.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ pub enum token_tree {
568568
// a delimited sequence (the delimiters appear as the first
569569
// and last elements of the vector)
570570
tt_delim(@mut ~[token_tree]),
571+
571572
// These only make sense for right-hand-sides of MBE macros:
572573

573574
// a kleene-style repetition sequence with a span, a tt_forest,
@@ -646,6 +647,10 @@ pub enum matcher_ {
646647

647648
pub type mac = Spanned<mac_>;
648649

650+
// represents a macro invocation. The Path indicates which macro
651+
// is being invoked, and the vector of token-trees contains the source
652+
// of the macro invocation.
653+
// There's only one flavor, now, so this could presumably be simplified.
649654
#[deriving(Clone, Eq, Encodable, Decodable, IterBytes)]
650655
pub enum mac_ {
651656
mac_invoc_tt(Path,~[token_tree]), // new macro-invocation

0 commit comments

Comments
 (0)