Skip to content

Commit 7eebf86

Browse files
harlanhaskinsnkcsgexi
authored andcommitted
[Syntax] Fix and update 'Adding New Syntax Nodes' in README (#13602)
1 parent 08ee15f commit 7eebf86

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/Syntax/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -530,12 +530,9 @@ will be re-generated whenever any Python files are changed.
530530
## Adding new Syntax Nodes
531531

532532
Here's a handy checklist when implementing a production in the grammar.
533-
- Check that the corresponding `lib/AST` node has `SourceLocs` for all terms. If
534-
it doesn't, [file a Swift bug][NewSwiftBug] and fix that first.
535-
- **Add the `Syntax` bug label!**
536533
- Check if it's not already being worked on, and then
537-
[file a Swift bug][NewSwiftBug], noting which grammar productions
538-
are affected.
534+
[file a Swift bug](https://bugs.swift.org/secure/CreateIssue!default.jspa),
535+
noting which grammar productions are affected.
539536
- **Add the `Syntax` bug label!**
540537
- Create the `${KIND}` entry in the appropriate Python file (Expr, Stmt,
541538
Pattern, etc.).
@@ -558,8 +555,6 @@ Here's a handy checklist when implementing a production in the grammar.
558555
- check for a zero-diff print with `-round-trip-parse`
559556
- Update `lib/Syntax/Status.md` if applicable.
560557

561-
[NewSwiftBug]: https://bugs.swift.org/secure/CreateIssue!default.jspa)
562-
563558
## Try libSyntax in Xcode
564559

565560
Here's how to build a Swift command line tool in Xcode using libSyntax:

0 commit comments

Comments
 (0)