diff options
| author | Alasdair Armstrong | 2018-12-17 20:29:11 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-12-17 20:29:11 +0000 |
| commit | 586b5f5c27bef271a9a013cad8d5b132df354c23 (patch) | |
| tree | c743420a0060fda773cfb270ec3a5687a57f4741 /src/nl_flow.ml | |
| parent | e5d108332cf700f73ea7b7527d0ae6006b0944c5 (diff) | |
Changes for ASL parser
Diffstat (limited to 'src/nl_flow.ml')
| -rw-r--r-- | src/nl_flow.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nl_flow.ml b/src/nl_flow.ml index e38e5fa5..6196f23b 100644 --- a/src/nl_flow.ml +++ b/src/nl_flow.ml @@ -91,7 +91,7 @@ let add_assert cond (E_aux (aux, (l, ())) as exp) = let modify_unsigned id value (E_aux (aux, annot) as exp) = match aux with | E_let (LB_aux (LB_val (pat, E_aux (E_app (f, [E_aux (E_id id', _)]), _)), _) as lb, exp') - when string_of_id f = "unsigned" && Id.compare id id' = 0 -> + when (string_of_id f = "unsigned" || string_of_id f = "UInt") && Id.compare id id' = 0 -> begin match pat_id pat with | None -> exp | Some uid -> |
