mirror of
https://github.com/astral-sh/ruff
synced 2026-01-07 14:44:17 -05:00
Separate byteoffset ast and located ast
This commit is contained in:
7
scripts/update_asdl.sh
Executable file
7
scripts/update_asdl.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$(dirname "$0")")"
|
||||
|
||||
python ast/asdl_rs.py --generic-file ast/src/generic.rs --located-file ast/src/located.rs --module-file ../RustPython/vm/src/stdlib/ast/gen.rs ast/Python.asdl
|
||||
rustfmt ast/src/generic.rs ast/src/located.rs ../RustPython/vm/src/stdlib/ast/gen.rs
|
||||
Reference in New Issue
Block a user