aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/flex.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/flex.go')
-rw-r--r--internal/rosa/flex.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/rosa/flex.go b/internal/rosa/flex.go
index 1085e0d0..83719413 100644
--- a/internal/rosa/flex.go
+++ b/internal/rosa/flex.go
@@ -20,9 +20,7 @@ func (t Toolchain) newFlex() (pkg.Artifact, string) {
), version
}
func init() {
- native.MustRegister(&Artifact{
- f: Toolchain.newFlex,
-
+ native.mustRegister(Toolchain.newFlex, &Metadata{
Name: "flex",
Description: "scanner generator for lexing in C and C++",
Website: "https://github.com/westes/flex/",