fix previous commit

This commit is contained in:
Sebastien Bourdeauducq 2022-03-26 20:08:11 +08:00
parent dcfaf587ec
commit c6ef9b117c
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ extern fn stop_fn(_version: c_int,
} }
// Must be kept in sync with preallocate_runtime_exception_names() in artiq/language/embedding_map.py // Must be kept in sync with preallocate_runtime_exception_names() in artiq/language/embedding_map.py
static EXCEPTION_ID_LOOKUP: [(&str, u32); 10] = [ static EXCEPTION_ID_LOOKUP: [(&str, u32); 11] = [
("RuntimeError", 0), ("RuntimeError", 0),
("RTIOUnderflow", 1), ("RTIOUnderflow", 1),
("RTIOOverflow", 2), ("RTIOOverflow", 2),