Remove buffer from args
This commit is contained in:
parent
1be805317f
commit
5105e7ec4f
@ -65,7 +65,6 @@ func GetTextQuote(s QuotingStyle) rune {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Quote(
|
func Quote(
|
||||||
buffer []rune,
|
|
||||||
arg []rune,
|
arg []rune,
|
||||||
style QuotingStyle,
|
style QuotingStyle,
|
||||||
flags int,
|
flags int,
|
||||||
@ -73,6 +72,7 @@ func Quote(
|
|||||||
leftQuote rune,
|
leftQuote rune,
|
||||||
rightQuote rune,
|
rightQuote rune,
|
||||||
) []rune {
|
) []rune {
|
||||||
|
var buffer []rune
|
||||||
var elideOuterQuotes bool = (flags & QAElideOuterQuotes) != 0
|
var elideOuterQuotes bool = (flags & QAElideOuterQuotes) != 0
|
||||||
var pendingShellEscapeEnd bool
|
var pendingShellEscapeEnd bool
|
||||||
var escaping bool
|
var escaping bool
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user