Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse include!(<path/to/bracketed>) #201

Merged
merged 2 commits into from
May 12, 2020
Merged

Parse include!(<path/to/bracketed>) #201

merged 2 commits into from
May 12, 2020

Commits on May 12, 2020

  1. Parse include!(<path/to/bracketed>)

    For example:
    
        #[cxx::bridge]
        mod ffi {
            extern "C" {
                include!("path/to/quoted");
                include!(<path/to/bracketed>);
    
                ...
            }
        }
    
    Emitted as:
    
        #include "path/to/quoted"
        #include <path/to/bracketed>
    dtolnay committed May 12, 2020
    Configuration menu
    Copy the full SHA
    91e87fa View commit details
    Browse the repository at this point in the history
  2. Test include parsing

    dtolnay committed May 12, 2020
    Configuration menu
    Copy the full SHA
    cf96664 View commit details
    Browse the repository at this point in the history