Skip to content

Commit

Permalink
Merge branch 'dhruv/pep-701' into dhruv/fstring-parser-3
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila committed Sep 14, 2023
2 parents 06ba358 + 8993443 commit 85e5c01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/ruff_python_parser/src/python.lalrpop
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ FStringReplacementField: ast::Expr = {
return Err(LexicalError {
error: LexicalErrorType::FStringError(FStringErrorType::LambdaWithoutParentheses),
location: value.start(),
})?;
})?;
}
let debug_text = debug.map(|_| {
let start_offset = location + "{".text_len();
Expand Down
4 changes: 2 additions & 2 deletions crates/ruff_python_parser/src/python.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// auto-generated: "lalrpop 0.20.0"
// sha3: 0bcd25bcb90fbd48df028412e64d846abc7d017d549f5fdf745ea2fe01052ecd
// sha3: 28c3616641cf815eb22318982db3c1fdad27755117dde4835fb76f3de70fd4be
use num_bigint::BigInt;
use ruff_text_size::{Ranged, TextLen, TextRange, TextSize};
use ruff_python_ast::{self as ast, IpyEscapeKind};
Expand Down Expand Up @@ -36216,7 +36216,7 @@ fn __action218<
return Err(LexicalError {
error: LexicalErrorType::FStringError(FStringErrorType::LambdaWithoutParentheses),
location: value.start(),
})?;
})?;
}
let debug_text = debug.map(|_| {
let start_offset = location + "{".text_len();
Expand Down

0 comments on commit 85e5c01

Please sign in to comment.