mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
cgo: implement prefix parsing
This implements expressions such as "-5" and "-5 - 2", in other words, negative numbers.
This commit is contained in:
committed by
Ron Evans
parent
70f8eeaca0
commit
711889bc3f
Vendored
+1
@@ -8,6 +8,7 @@ defined ints: 5 5
|
||||
defined floats: +5.800000e+000 +5.800000e+000
|
||||
defined string: defined string
|
||||
defined char: 99
|
||||
defined expr: 9
|
||||
15: 15
|
||||
25: 25
|
||||
callback 1: 50
|
||||
|
||||
Reference in New Issue
Block a user