diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-07-12 15:53:04 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-07-12 15:53:04 -0700 |
| commit | af556238ebe72d58adbcf339bd2fa0aef4e3caf9 (patch) | |
| tree | d24c987a814eb8fcf6d623dae846852b4099c3ce /src/rustllvm/RustWrapper.cpp | |
| parent | adcae006d250e40d7369d9bee3ecd05915acb22d (diff) | |
| download | rust-af556238ebe72d58adbcf339bd2fa0aef4e3caf9.tar.gz rust-af556238ebe72d58adbcf339bd2fa0aef4e3caf9.zip | |
syntax: Allow semi tokens after macro ty/path
This commit expands the follow set of the `ty` and `path` macro fragments to
include the semicolon token as well. A semicolon is already allowed after these
tokens, so it's currently a little too restrictive to not have a semicolon
allowed. For example:
extern {
fn foo() -> i32; // semicolon after type
}
fn main() {
struct Foo;
Foo; // semicolon after path
}
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
