Uh oh!
There was an error while loading. Please reload this page.
extract_grammar - #8585
Closed
jankobler wants to merge 2 commits into
Closed
Conversation
add missing symnames Signed-off-by: Jan Kobler <eng1@koblersystems.de>
in the rust grammar to avoid error messages like this: Exception: non-alpha apparent keyword: pub" when using extract_grammar.py: python2.7 src/etc/extract_grammar.py <doc/rust.md Signed-off-by: Jan Kobler <eng1@koblersystems.de>
bors added a commit
that referenced
this pull request
Aug 21, 2013
This fixes some errors which extract_grammar.py reports, when called with python2.7 src/etc/extract_grammar.py <doc/rust.md
Manishearth added a commit
to Manishearth/rust
that referenced
this pull request
May 5, 2015
…r, r=steveklabnik This script used to be used to [extract the grammar sections from the reference](rust-lang#8585), but there is [now a separate src/doc/grammar.md](rust-lang#22308) that generates grammar.html where the grammar sections that used to be in the reference live, so there is no longer a need to extract the grammar from the reference. I ❤️ deleting code :) But I totally understand if there's a reason to keep this around that I don't know about :)
U007D pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
8629: Allow pressing | to surround closure arguments in VSCode r=matklad a=Smittyvb This makes pressing <kbd>|</kbd> while some text is selected surround that text with pipes. This is useful when writing closures. In this demo, I press <kbd>|</kbd> to easily surround some text (`predicate`) with pipe characters to create a closure. Before, this would have replaced `predicate` with just `|`.  (I am getting failures when I do `cargo test` even on `master` locally (due to rust-lang#8585 I think), but GH Actions is fine with this) 8657: npm update r=matklad a=kjeremy Co-authored-by: Smittyvb <me@smitop.com> Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes some errors which extract_grammar.py reports, when called with
python2.7 src/etc/extract_grammar.py <doc/rust.md