Merge commit 'origin/master' into drm-gem
[mesa.git] / src / mesa / shader / slang / library / slang_pp_version_syn.h
1
2 /* DO NOT EDIT - THIS FILE IS AUTOMATICALLY GENERATED FROM THE .syn FILE */
3
4 ".syntax version_directive;\n"
5 "version_directive\n"
6 " version_directive_1 .and .loop version_directive_2;\n"
7 "version_directive_1\n"
8 " prior_optional_spaces .and optional_version_directive .and .true .emit $;\n"
9 "version_directive_2\n"
10 " prior_optional_spaces .and version_directive_body .and .true .emit $;\n"
11 "optional_version_directive\n"
12 " version_directive_body .or .true .emit 10 .emit 1;\n"
13 "version_directive_body\n"
14 " '#' .and optional_space .and \"version\" .and space .and version_number .and optional_space .and\n"
15 " new_line;\n"
16 "version_number\n"
17 " version_number_110 .or version_number_120;\n"
18 "version_number_110\n"
19 " leading_zeroes .and \"110\" .emit 10 .emit 1;\n"
20 "version_number_120\n"
21 " leading_zeroes .and \"120\" .emit 20 .emit 1;\n"
22 "leading_zeroes\n"
23 " .loop zero;\n"
24 "zero\n"
25 " '0';\n"
26 "space\n"
27 " single_space .and .loop single_space;\n"
28 "optional_space\n"
29 " .loop single_space;\n"
30 "single_space\n"
31 " ' ' .or '\\t';\n"
32 "prior_optional_spaces\n"
33 " .loop prior_space;\n"
34 "prior_space\n"
35 " c_style_comment_block .or cpp_style_comment_block .or space .or new_line;\n"
36 "c_style_comment_block\n"
37 " '/' .and '*' .and c_style_comment_rest;\n"
38 "c_style_comment_rest\n"
39 " .loop c_style_comment_char_no_star .and c_style_comment_rest_1;\n"
40 "c_style_comment_rest_1\n"
41 " c_style_comment_end .or c_style_comment_rest_2;\n"
42 "c_style_comment_rest_2\n"
43 " '*' .and c_style_comment_rest;\n"
44 "c_style_comment_char_no_star\n"
45 " '\\x2B'-'\\xFF' .or '\\x01'-'\\x29';\n"
46 "c_style_comment_end\n"
47 " '*' .and '/';\n"
48 "cpp_style_comment_block\n"
49 " '/' .and '/' .and cpp_style_comment_block_1;\n"
50 "cpp_style_comment_block_1\n"
51 " cpp_style_comment_block_2 .or cpp_style_comment_block_3;\n"
52 "cpp_style_comment_block_2\n"
53 " .loop cpp_style_comment_char .and new_line;\n"
54 "cpp_style_comment_block_3\n"
55 " .loop cpp_style_comment_char;\n"
56 "cpp_style_comment_char\n"
57 " '\\x0E'-'\\xFF' .or '\\x01'-'\\x09' .or '\\x0B'-'\\x0C';\n"
58 "new_line\n"
59 " cr_lf .or lf_cr .or '\\n' .or '\\r';\n"
60 "cr_lf\n"
61 " '\\r' .and '\\n';\n"
62 "lf_cr\n"
63 " '\\n' .and '\\r';\n"
64 ".string __string_filter;\n"
65 "__string_filter\n"
66 " .loop __identifier_char;\n"
67 "__identifier_char\n"
68 " 'a'-'z' .or 'A'-'Z' .or '_' .or '0'-'9';\n"
69 ""