-
Notifications
You must be signed in to change notification settings - Fork 120
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
Trim whitespace when parsing <TraverseFiles>
contents?
#1838
Comments
@MarijnS95 Did this one already get merged as part of a separate PR? If not, maybe a tiny one we can get in to close this out. |
@riverar no it did not (and it took me to do a clean build in the target project to reproduce this). Will open a PR! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Tsukisoft/direct-storage-rs#5
We had a list of the form:
But no constants from
dstorageerr.h
were parsed. Swapping the filenames makes it so that#define
s fromdstorage.h
are lost, but defines fromdstorageerr.h
are parsed.I believe the raw string it's parsing here is:
dstorage.h;\ndstorageerr.h\n
, splitting this on;
causes the last filename to never match. Perhaps astring item = items[i].Trim();
is missing here to make multiline filename strings work more naturally?win32metadata/sources/GeneratorSdk/MetadataTasks/ScrapeHeaders.cs
Lines 476 to 488 in 3d2ba1e
After all, when merging this into one line:
Both files were finally parsed correctly.
The text was updated successfully, but these errors were encountered: