Skip to content

Commit

Permalink
Rename jit to lpython
Browse files Browse the repository at this point in the history
  • Loading branch information
Thirumalai-Shaktivel committed May 12, 2023
1 parent 99b48f6 commit 37827ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions integration_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ RUN(NAME callback_01 LABELS cpython llvm)
# Intrinsic Functions
RUN(NAME intrinsics_01 LABELS cpython llvm) # any

COMPILE(NAME import_order_01 LABELS cpython llvm c) # any
# lpython decorator
RUN(NAME lpython_decorator_01 LABELS cpython)

# Jit
RUN(NAME test_lpython_decorator LABELS cpython)
COMPILE(NAME import_order_01 LABELS cpython llvm c) # any
File renamed without changes.
4 changes: 2 additions & 2 deletions src/lpython/semantics/python_ast_to_asr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3589,8 +3589,8 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
is_inline = true;
} else if (name == "static") {
is_static = true;
} else if (name == "jit") {
throw SemanticError("`@lpython.jit` decorator must be "
} else if (name == "lpython") {
throw SemanticError("`@lpython` decorator must be "
"run from CPython, not compiled using LPython",
dec->base.loc);
} else {
Expand Down

0 comments on commit 37827ef

Please sign in to comment.