You probably have something else wrong in the code. The first one is correct and should work with any reasonable compiler. How do you think the compiler would compile itself if it couldn't cope with semicolons in quotes? It is kind of an important separator in the parser, so there will be more than one place doing something like: