]> git.lizzy.rs Git - rust.git/commit
syntax: allow stmt/expr macro invocations to be delimited by [].
authorGábor Lehel <glaebhoerl@gmail.com>
Sun, 16 Mar 2014 21:46:04 +0000 (22:46 +0100)
committerSean McArthur <sean.monstar@gmail.com>
Tue, 1 Apr 2014 05:42:31 +0000 (22:42 -0700)
commitbe673e77e75ece1611cdcf7b1b784ccd53cc9011
tree83f60a5f11809e936f289734e924d6918880d832
parentb8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
syntax: allow stmt/expr macro invocations to be delimited by [].

this is useful for macros like vec! which construct containers
src/libsyntax/parse/parser.rs
src/libsyntax/parse/token.rs
src/test/run-pass/vec-macro-with-brackets.rs [new file with mode: 0644]