1
0
Fork 0

add comment about EXCEPTION_ID_LOOKUP sync

This commit is contained in:
Sebastien Bourdeauducq 2022-03-01 09:50:28 +08:00
parent f38117774f
commit b56b50b147
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,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] = [
("RuntimeError", 0),
("RTIOUnderflow", 1),