diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2014-02-02 23:52:06 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2014-02-13 20:52:16 +0100 |
| commit | 9a6d92c1d706af14da336892e8d5148c3d3859ee (patch) | |
| tree | 83d1384905d7086cf92a78fb6a8d5e9af9b102e0 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 968633b60ad7f2fd0c5663e92b06f2c9d21964a8 (diff) | |
| download | rust-9a6d92c1d706af14da336892e8d5148c3d3859ee.tar.gz rust-9a6d92c1d706af14da336892e8d5148c3d3859ee.zip | |
Replace `extern mod` with `extern crate`
This patch adds a new keyword `crate` which is intended to replace mod in the context of `extern mod` as part of the issue #9880. The patch doesn't replace all `extern mod` cases since it is necessary to first push a new snapshot 0. The implementation could've been less invasive than this. However I preferred to take this chance to split the `parse_item_foreign_mod` method and pull the `extern crate` part out of there, hence the new method `parse_item_foreign_crate`.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
