runtime: fix EXCEPTION_ID_LOOKUP

This commit is contained in:
Sebastien Bourdeauducq 2022-03-26 20:09:11 +08:00
parent 6aec423838
commit 5c70b97850
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ extern fn stop_fn(_version: c_int,
}
// 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),
("RTIOUnderflow", 1),
("RTIOOverflow", 2),