The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
472 B

/* No escape */
#define MESSAGE1 "${var1}"
/* Single escape means no replace */
#define MESSAGE2 "\${var1}"
/* Replace pairs of escapes before '@' or '\@' with escape characters
* (note we have to double number of pairs due to C string escaping)
*/
#define MESSAGE3 "\\\\${var1}"
/* Pairs of escapes and then single escape to avoid replace */
#define MESSAGE4 "\\\\\${var1}"
/* Check escape character outside variables */
#define MESSAGE5 "\\ ${ \${ \\\\${ \\\\\${"