Run clang-format on parser.ypp and lexer.lpp (#738)

Co-authored-by: Geoff Romer <gromer@google.com>
This commit is contained in:
Jon Meow
2021-08-31 12:41:08 -07:00
committed by GitHub
co-authored by Geoff Romer
parent 973759f0ff
commit 9f67c4b9a8
6 changed files with 849 additions and 157 deletions
+18
View File
@@ -4,6 +4,8 @@
package(default_visibility = ["//executable_semantics:__pkg__"])
load("@mypy_integration//:mypy.bzl", "mypy_test")
cc_library(
name = "bison_wrap",
hdrs = ["bison_wrap.h"],
@@ -83,3 +85,19 @@ genrule(
"@rules_m4//m4:current_m4_toolchain",
],
)
py_library(
name = "format_grammar_lib",
srcs = ["format_grammar.py"],
)
py_test(
name = "format_grammar_test",
srcs = ["format_grammar_test.py"],
deps = ["format_grammar_lib"],
)
mypy_test(
name = "format_grammar_mypy_test",
deps = [":format_grammar_lib"],
)