Skip to content

Commit

Permalink
Apply formatting fixes from Buildifier
Browse files Browse the repository at this point in the history
  • Loading branch information
philwo committed Jun 30, 2021
1 parent 59a960f commit 52b9301
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flex/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ load("@rules_flex//flex/internal:toolchain.bzl", "flex_toolchain_info")

[flex_toolchain_info(
name = "toolchain_v{}".format(version),
flex_tool = "@flex_v{}//bin:flex".format(version),
flex_lexer_h = "@flex_v{}//:flex_lexer_h".format(version),
flex_tool = "@flex_v{}//bin:flex".format(version),
tags = ["manual"],
visibility = ["//visibility:public"],
) for version in VERSION_URLS]
Expand Down
2 changes: 1 addition & 1 deletion flex/internal/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _flex_repository(ctx):
# Fix build errors in older Flex due to use of undeclared functions.
if version in ["2.5.36", "2.5.37"]:
ctx.template("flexdef.h", "flexdef.h", substitutions = {
"extern void lerrsf": "extern void lerrsf_fatal(const char *msg, const char arg[]);\nextern void lerrsf"
"extern void lerrsf": "extern void lerrsf_fatal(const char *msg, const char arg[]);\nextern void lerrsf",
}, executable = False)

ctx.file("WORKSPACE", "workspace(name = {name})\n".format(name = repr(ctx.name)))
Expand Down

0 comments on commit 52b9301

Please sign in to comment.