Ignore pragmas during promotion. Fixes #42