File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -530,12 +530,9 @@ will be re-generated whenever any Python files are changed.
530
530
## Adding new Syntax Nodes
531
531
532
532
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!**
536
533
- 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.
539
536
- ** Add the ` Syntax ` bug label!**
540
537
- Create the ` ${KIND} ` entry in the appropriate Python file (Expr, Stmt,
541
538
Pattern, etc.).
@@ -558,8 +555,6 @@ Here's a handy checklist when implementing a production in the grammar.
558
555
- check for a zero-diff print with ` -round-trip-parse `
559
556
- Update ` lib/Syntax/Status.md ` if applicable.
560
557
561
- [ NewSwiftBug] : https://bugs.swift.org/secure/CreateIssue!default.jspa )
562
-
563
558
## Try libSyntax in Xcode
564
559
565
560
Here's how to build a Swift command line tool in Xcode using libSyntax:
You can’t perform that action at this time.
0 commit comments