diff options
Diffstat (limited to 'src/cmd/compile/internal/syntax/printer.go')
| -rw-r--r-- | src/cmd/compile/internal/syntax/printer.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cmd/compile/internal/syntax/printer.go b/src/cmd/compile/internal/syntax/printer.go index 1c0bfc190e..d86d77e73f 100644 --- a/src/cmd/compile/internal/syntax/printer.go +++ b/src/cmd/compile/internal/syntax/printer.go @@ -138,10 +138,6 @@ func impliesSemi(tok token) bool { // TODO(gri) provide table of []byte values for all tokens to avoid repeated string conversion -func lineComment(text string) bool { - return strings.HasPrefix(text, "//") -} - func (p *printer) addWhitespace(kind ctrlSymbol, text string) { p.pending = append(p.pending, whitespace{p.lastTok, kind /*text*/}) switch kind { |
