extract_entire_host_domain: allow some of the user statements to be guarded
commit3bf7485818e79e9c0832fae8767ee3b93c660dd4
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 2 Jan 2012 15:28:40 +0000 (2 16:28 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 11 Feb 2012 13:32:08 +0000 (11 14:32 +0100)
treeb15c52f6298e1e2e4b9426c3f4ddbc0aae409494
parentfd59847751287874ff10c9ccb006ded4ca6b22c9
extract_entire_host_domain: allow some of the user statements to be guarded

When we encounter a user statement in print_stmt, the print_user_stmt_list
function is called (if set) and from within this function, we call
extract_entire_host_domain.  The original user statement may however
occasionally be followed by guarded user statements, so we need to
take this possibility into account.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
cuda.c
gpucode.c
gpucode.h