Mercurial > ~dholland > hg > tradcpp > index.cgi
view tests/t28.c @ 127:a0a86380456e
fix for #if handling:
Don't eval the control expression of the first #if of a block when
already in a false block; it might not be valid. Reported by
Baptiste Daroussin.
author | David A. Holland |
---|---|
date | Wed, 12 Jun 2013 10:52:56 -0400 |
parents | cb08e397ce7b |
children |
line wrap: on
line source
#if 1 . right # if 1 .. right # elif 1 .. wrong # elif 0 .. wrong # else .. wrong # endif #elif 1 . wrong # if 1 .. wrong # elif 1 .. wrong # elif 0 .. wrong # else .. wrong # endif #elif 0 . wrong # if 1 .. wrong # elif 1 .. wrong # elif 0 .. wrong # else .. wrong # endif #else . wrong # if 1 .. wrong # elif 1 .. wrong # elif 0 .. wrong # else .. wrong # endif #endif