Remove buffer from args

This commit is contained in:
Dustin Pianalto 2020-09-25 00:25:42 -08:00
parent 1be805317f
commit 5105e7ec4f

View File

@ -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