ZoKrates icon indicating copy to clipboard operation
ZoKrates copied to clipboard

Fix whitespace definition in pest

Open dark64 opened this issue 2 years ago • 0 comments

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.

dark64 avatar Sep 26 '22 11:09 dark64