mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-14 03:14:14 +03:00
Added missing parenthesis in C code generation.
This commit is contained in:
parent
38fd2b0ff0
commit
c50d7c5b6d
@ -437,7 +437,7 @@ doOp v (LSExt (ITFixed from) ITChar) [x]
|
||||
doOp v (LSExt (ITFixed from) (ITFixed to)) [x]
|
||||
| nativeTyWidth from < nativeTyWidth to = bitCoerce v "S" from to x
|
||||
doOp v (LZExt ITNative (ITFixed to)) [x]
|
||||
= v ++ "idris_b" ++ show (nativeTyWidth to) ++ "const(vm, (uintptr_t)GETINT(" ++ creg x ++ ")"
|
||||
= v ++ "idris_b" ++ show (nativeTyWidth to) ++ "const(vm, (uintptr_t)GETINT(" ++ creg x ++ "))"
|
||||
doOp v (LZExt ITChar (ITFixed to)) [x]
|
||||
= doOp v (LZExt ITNative (ITFixed to)) [x]
|
||||
doOp v (LZExt (ITFixed from) ITNative) [x]
|
||||
|
Loading…
Reference in New Issue
Block a user