mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 06:44:46 +01:00
Fix format_grammar to run on lexer.lpp changes (#929)
This commit is contained in:
@@ -89,7 +89,7 @@ repos:
|
||||
name: Format the executable_semantics grammar file
|
||||
entry: executable_semantics/syntax/format_grammar.py
|
||||
language: python
|
||||
files: ^executable_semantics/syntax/parser.ypp$
|
||||
files: ^executable_semantics/syntax/(lexer.lpp|parser.ypp)$
|
||||
pass_filenames: false
|
||||
# Formatters should be run late so that they can re-format any prior changes.
|
||||
- repo: https://github.com/psf/black
|
||||
|
||||
Reference in New Issue
Block a user