https://bugs.winehq.org/show_bug.cgi?id=44338
--- Comment #8 from Jason Edmeades us@edmeades.me.uk --- For what its worth I think this patch takes the parsing in the right direction. I'm working on 'if' parsing and handling at the moment (I have a set of patches) but to solve some of the more complex problems I need to know where the condition ends, which your patch provides. Hopefully AJ will indicate if there's a problem or not, otherwise its worth asking (he's away at the moment)