Use only naked `{` and `}` for variable assignment
[normand.git] / tests / pass-bmp.nt
index fb96be9d1865d5ca8f4f997b7e92f8f15340207b..bc6fa3cc74d858d3f1aa8dc3cb093b14fac2c6d5 100644 (file)
@@ -1,9 +1,9 @@
 {dim = 128}
-{le}
+!le
 
 # Single pixel macro
 !macro px(r, g, b)
-  {r:8} {g:8} {b:8}
+  [r:8] [g:8] [b:8]
 !end
 
 # Header
   "BM"
 
   # File size
-  {end : 32}
+  [end : 32]
 
   # Reserved
   00 00 00 00
 
   # Bitmap data offset
-  {data : 32}
+  [data : 32]
 
 # DIB header
   <dib_start>
 
   # DIB header size
-  {dib_end - dib_start : 32}
+  [dib_end - dib_start : 32]
 
   # Bitmap width
-  {dim : 16}
+  [dim : 16]
 
   # Bitmap height
-  {dim : 16}
+  [dim : 16]
 
   # Planes
-  {1 : 16}
+  [1 : 16]
 
   # Bits/pixel
-  {24 : 16}
+  [24 : 16]
 
   <dib_end>
 
This page took 0.024733 seconds and 4 git commands to generate.