[Doxygen-develop] [PATCH] - Alias definition and arguments can now contain "{" and "}"
Brought to you by:
dimitri
From: Stefan O. <st...@ob...> - 2009-09-17 08:28:32
|
Its not possible to pass a "{" as an argument to an alias or to put a "{" into a alias definition. eg: Doxyfile: ALIASES = "MACRO_ARGV1{1}=\1" ALIASES += "MACRO_ARGV2{1}=\{\1" ALIASES += "MACRO_ARGV3{1}=\{\1\}" ALIASES += "MACRO_ARGV4{1}=\1\}" example page: /*! @page page_argv ARGV Macros Test of ARGV macros with { and }\n @MACRO_ARGV1{ABCD\{ab\}cd}\n @MACRO_ARGV2{ABCD\{ab\}cd}\n @MACRO_ARGV3{ABCD\{ab\}cd}\n @MACRO_ARGV4{ABCD\{ab\}cd}\n */ After applying the attached patch escaping of brackets works. Use "\{" and "\}". Best regards Stefan |