pike.git
/
CHANGES
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/CHANGES:173:
o Added a shorthand syntax for integer rages: xbit, where x is a number between 1 and 31. This can be used as an example to indicate that a string is 8 bits wide only: string(8bit) This is equivalent to the range (0..255) but can be easier to parse. Similarily int(1bit) is an alias for 'bool', and int(12bit) is the same as int(0..4095).
+
o 'this::x' is not equivalent to 'this_program::x' -- access the
+
identifier x in the current object.
+
+
New preprocessor features ------------------------- o Support for the ", ##__VA_ARGS__" cpp feature. This makes the ‘##’ token paste operator have a special meaning when placed between a comma and a variable argument. If you write | #define err(format, ...) f(debug)werror("ERROR: "+format, ##__VA_ARGS__)