Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use 'PEP 7' in syntax error, to make it clear that this is not a C sy…
…ntax error, just a tool limitation.
  • Loading branch information
markshannon committed Aug 27, 2024
commit 1f829be66afd7575533f92137bc909b9d8aa43d9
2 changes: 1 addition & 1 deletion Tools/cases_generator/generators_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def _emit_block(
tkn = next(tkn_iter)
reachable = True
if tkn.kind != "LBRACE":
raise analysis_error(f"Expected '{{' found {tkn.text}", tkn)
raise analysis_error(f"PEP 7: expected '{{' found {tkn.text}", tkn)
if emit_first_brace:
self.emit(tkn)
for tkn in tkn_iter:
Expand Down