private static int getColumn(ASTNode node) {
    return node.getColumnNumber() > 0 ? node.getColumnNumber() : node.getLastColumnNumber();
  }
Indicates that a spec was found to contain a (syntactic or semantic)
error during compilation. As such, this is the compile-time equivalent
of InvalidSpecException.
Inherits from SyntaxException so that line information can
be exploited by integrators (IDEs etc.).

Most of the time it is not necessary to use this class directly (see
documentation of class ErrorReporter).

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/compiler/InvalidSpecCompileException.java