Fixed a bug in #elif handling.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-10-06 19:58:06 +00:00
parent b4dfb7cda6
commit 89a2090064
+1 -1
View File
@@ -264,7 +264,7 @@ function handle_if()
else
{
sub("^+#elif ",
sprintf("+#if ! %d \\&\\& ", decision[if_nesting_level]),
sprintf("+#if ! %s \\&\\& ", substr(decision[if_nesting_level], 5)),
evaluated)
evaluated = evaluate(evaluated)
}