1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/examples/wrongsyntax.code
Dennis Kuhnert 5b091638fd Add reworked function head parsing
Add examples wavelets, empty
Remove Regex from parser
2017-02-15 14:54:53 +01:00

16 lines
301 B
Text

//def wrong(a)
//def (a):
//def wrongtoo(a,):
def correct(a):
b = a + 5
//c = if x < 6 then b ele 5 fi + 2
//c = 5 + 2 * b + 5 b * 8 + a
//c = 5 + 2 * b + 5 \ a
//c = 5 + 2 *+ b + 5 \ a
//c *= 1
//c =
//c = 7 + a +
/// comment with one /
//return a + b \
return a + b
return a