mirror of https://github.com/m-labs/artiq.git
runtime: fix EXCEPTION_ID_LOOKUP
This commit is contained in:
parent
6aec423838
commit
5c70b97850
|
@ -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
|
// 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),
|
||||||
|
|
Loading…
Reference in New Issue