ZoKrates
ZoKrates copied to clipboard
Fix whitespace definition in pest
Our syntax is currently strict on how and where newlines are allowed eg.
def main(...) { // <-- `{` must be in the same line
...
}
This PR changes WHITESPACE
definition in the grammar so that newlines are allowed everywhere except in atomic definitions. This makes the syntax not so strict on newlines.