-
Notifications
You must be signed in to change notification settings - Fork 745
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
Update for Swift 4.2 #1035
Update for Swift 4.2 #1035
Conversation
Would love this to be merged! 🙏🏻 @dblessing @jneen |
@mattt Sorry it's taken so long to get around to this one :( Would you be able to add some of these to the visual sample? Don't need to list all the keywords, just a couple of additions to show this working properly. |
This generally looks fine but I noticed that the |
@mattt wrote:
There probably should be a more mechanical (and, hence, reliable) process but honestly, at the moment, I just look at it with the naked eye and try to find mistakes. That's basically how I identified the problems with the floating point/hex regular expressions. |
Oh, wow. I was expecting there to be some command that you could run to quickly generate an HTML preview of the current rules applied to the visual sample. Does that not exist? And if not, is this something you'd consider in a PR? |
@mattt Oh, wait. I may have misunderstood your original question. You realise if you run |
@mattt I hope you don't mind but I took the liberty of pushing a commit to your branch with the necessary fix. Hopefully that means we can get this merged :) I also realised that the link I gave you before was wrong. I manually set my port to be 8000 but by default running Hope that helps for any future PRs! |
@mattt This has been successful merged. Thanks for making Rouge a better library :) |
@pyrmont Thanks for your help and guidance through the process. Looking forward to sending more PRs in the future. |
This PR improves support for Swift 4.2 with the following changes:
#
(e.g.#available
)0o744
)"""
)