mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
parse: Remove unused code.
This commit is contained in:
parent
587bac7317
commit
8affd31812
|
@ -122,10 +122,6 @@ func (bn *Chunk) parseSeps(ps *parser) int {
|
|||
return nseps
|
||||
}
|
||||
|
||||
func startsChunk(r rune) bool {
|
||||
return isPipelineSep(r) || startsPipeline(r)
|
||||
}
|
||||
|
||||
// Pipeline = Form { '|' Form }
|
||||
type Pipeline struct {
|
||||
node
|
||||
|
@ -250,9 +246,6 @@ func (fn *Form) tryAssignment(ps *parser) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
func (fn *Form) parseIf(ps *parser) {
|
||||
}
|
||||
|
||||
func startsForm(r rune) bool {
|
||||
return isSpace(r) || startsCompound(r)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user