SlickEdit Product Discussion > SlickEdit®

How do you specify an 'else' in begin/end pairs?


I use gmake, which allows conditionals in the makefile (cant remember if other makes allow it)

Currently for the 'mak' extention I have entered the following for my Begin/end pairs

I cannot see any example on how to add the 'else' into that definition.
I know that the #if #else #endif is processed correctly in C, but C parsing
is ''special'' (begin/end pairs is grayed out)


Due to the fact that 'if - else - endif' (and friends) is not a simple 'pair' some add. language dependent functionality is needed.
Therefore the 'else' support e.g. for C-style lang.s is coded (@see macros\pmatch.e: _c_find_matching_word).

I also thought about adding makefile/ (ba)sh support ... maybe I give it a try next time.
@Slickteam: Is there a plan to include some more _<ext>_find_matching_word in v12 ?



[0] Message Index

Go to full version