1keynote-version: 2 # some comment
2comment: The weird looking string test in the conditions field is for
3	 verifying correctness of string grammar
4# comment inside comment field, no problem
5#authorizer: $$$$foo 	# Don't try this at home@@AUTH@@
6licensees:  (MYKEY) && ((("Key3") || "Key4") && (MYKEY)) || TWOKEY
7local-constants: MYKEY = "Key3"
8# we can put a comment here
9	 TWOKEY = "dsa-hex:3081de02402ae5e2d8c12fbaec4934dd5a98cbe39159\
10		   f1b8d02143a5e3d07c96c0acedef73d508a54286bb19b53cd2b7\
11		   bd0beca47b12ec75ddd7a7aeece8b724fbf940ca220241008cfe\
12		   2799793dc5eef44cc78228d2a42e76246326e6f442d7c14eb705\
13		   3e48d49a001350177e7d320d762d87f10ecbeceffb12b359e4c0\
14		   f827e05b34ef336823710215008773db9f8a9d42e7ad53c023d1\
15		   61dda43ae081a9024069f506a956d69c8a0a2ab6d6a888f57dd0\
16		   6593f537135b6d3c2bc928634f7e5e03b12c9fbac7ce4a6ce708\
17		   b63bdcda576e5eeecfb68930a5c3ca8df71d84fd0e"
18conditions: app_domain == "testing" ->
19# gratuitous comment
20 	{
21	    1 / 0 == 1 -> "true"; # runtime exception
22	    true -> "false";
23	    request == "whatever" -> "false";
24	TWOKEY == "dsa-hex:3081de02402ae5e2d8c12fbaec4934dd5a98cbe39159\
25                   f1b8d02143a5e3d07c96c0acedef73d508a54286bb19b53cd2b7\
26                   bd0beca47b12ec75ddd7a7aeece8b724fbf940ca220241008cfe\
27                   2799793dc5eef44cc78228d2a42e76246326e6f442d7c14eb705\
28                   3e48d49a001350177e7d320d762d87f10ecbeceffb12b359e4c0\
29                   f827e05b34ef336823710215008773db9f8a9d42e7ad53c023d1\
30                   61dda43ae081a9024069f506a956d69c8a0a2ab6d6a888f57dd0\
31                   6593f537135b6d3c2bc928634f7e5e03b12c9fbac7ce4a6ce708\
32                   b63bdcda576e5eeecfb68930a5c3ca8df71d84fd0e" &&
33		@(foo) == @foo &&
34        "this string contains a newline\n\
35 \ followed by one space." ==
36        "this\ string\ contains\ a\ newline\n\ foll\
37                owed\ by\ one\ space\." &&
38        "this string contains a newline\n\ \
39 followed by one space." ==
40        "this string contains a newline\012\040followed by one space." &&
41	    request == "test" -> "true"; # this is another comment
42	    request == "whatever3" -> "true";
43	    request == "test" -> "fa" . "lse";
44	};
45signature:
46