internal/rosa/azalea: implement semicolon and comma insertion
This commit is contained in:
@@ -4,9 +4,7 @@ package azalea
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"os"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"text/scanner"
|
"text/scanner"
|
||||||
@@ -428,6 +426,5 @@ func insertSemicolons(r io.Reader) (io.Reader, error) {
|
|||||||
|
|
||||||
tok = s.Scan()
|
tok = s.Scan()
|
||||||
}
|
}
|
||||||
fmt.Fprintln(os.Stderr, buf.String())
|
|
||||||
return strings.NewReader(buf.String()), nil
|
return strings.NewReader(buf.String()), nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user