(P: ParseState)
| 919 | } |
| 920 | |
| 921 | function skipNewlines(P: ParseState): void { |
| 922 | while (true) { |
| 923 | const save = saveLex(P.L) |
| 924 | const t = nextToken(P.L, 'cmd') |
| 925 | if (t.type !== 'NEWLINE') { |
| 926 | restoreLex(P.L, save) |
| 927 | break |
| 928 | } |
| 929 | } |
| 930 | } |
| 931 | |
| 932 | /** |
| 933 | * Parse commands joined by | or |&. Flat children with operator leaves. |
no test coverage detected