Lines Matching refs:check_syntax_error
15 function check_syntax_error (script) function
28 check_syntax_error ('{');
29 check_syntax_error ('}');
30 check_syntax_error ('[');
31 check_syntax_error (']');
32 check_syntax_error ('(');
33 check_syntax_error (')');
35 check_syntax_error ('function f (');
36 check_syntax_error ('function f ()');
37 check_syntax_error ('function f () {');
38 check_syntax_error ('function f () }');
39 check_syntax_error ('function f ({) }');
40 check_syntax_error ('function f { }');
41 check_syntax_error ('function f {');
42 check_syntax_error ('function f }');
44 check_syntax_error ('a = [[];');
46 check_syntax_error ('a = {;');
47 check_syntax_error ('a = };');
48 check_syntax_error ('a = {{};');
50 check_syntax_error ('a = {get q {} };');
51 check_syntax_error ('a = {get q ( {} };');
52 check_syntax_error ('a = {get q ) {} };');
53 check_syntax_error ('a = {get q () };');
54 check_syntax_error ('a = {get q () { };');
55 check_syntax_error ('a = {get q () };');
56 check_syntax_error ('a = {get q () { };');