Skip to content

Commit d2574a5

Browse files
Add tokenizer command to CI
1 parent 891c34f commit d2574a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/build.xsh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ python grammar/asdl_cpp.py grammar/Python.asdl src/lpython/python_ast.h
3333
# Generate a Python AST from Python.asdl (Python)
3434
python grammar/asdl_py.py
3535

36+
# Generate the tokenizer
37+
pushd src/lpython/parser && re2c -W -b tokenizer.re -o tokenizer.cpp && popd
38+
3639
$lpython_version=$(cat version).strip()
3740
$dest="lpython-" + $lpython_version
3841
bash ci/create_source_tarball0.sh

0 commit comments

Comments
 (0)