Mxx_ru 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. data/COPYING +26 -26
  2. data/NEWS +107 -107
  3. data/README +21 -21
  4. data/Rakefile +56 -56
  5. data/examples/exe_and_lib/prj.rb +11 -11
  6. data/examples/exe_and_lib/say.rb +7 -7
  7. data/examples/exe_dll_lib/inout.rb +18 -18
  8. data/examples/exe_dll_lib/prj.rb +11 -11
  9. data/examples/exe_dll_lib/say.rb +9 -9
  10. data/examples/exe_dll_lib_2/build.rb +10 -10
  11. data/examples/exe_dll_lib_2/inout/prj.rb +16 -16
  12. data/examples/exe_dll_lib_2/main/prj.rb +9 -9
  13. data/examples/exe_dll_lib_2/say/prj.rb +8 -8
  14. data/examples/simple_exe/prj.rb +7 -7
  15. data/lib/mxx_ru/abstract_target.rb +335 -335
  16. data/lib/mxx_ru/binary_library.rb +106 -106
  17. data/lib/mxx_ru/binary_target.rb +173 -173
  18. data/lib/mxx_ru/binary_unittest.rb +143 -143
  19. data/lib/mxx_ru/compat.rb +33 -33
  20. data/lib/mxx_ru/cpp.rb +38 -38
  21. data/lib/mxx_ru/cpp/analyzer.rb +237 -237
  22. data/lib/mxx_ru/cpp/composite.rb +118 -118
  23. data/lib/mxx_ru/cpp/detect_toolset.rb +122 -122
  24. data/lib/mxx_ru/cpp/mode.rb +90 -90
  25. data/lib/mxx_ru/cpp/obj_placement.rb +330 -330
  26. data/lib/mxx_ru/cpp/obj_placements/custom_subdir.rb +155 -155
  27. data/lib/mxx_ru/cpp/qt.rb +366 -366
  28. data/lib/mxx_ru/cpp/rucodegen.rb +157 -157
  29. data/lib/mxx_ru/cpp/source_file.rb +79 -79
  30. data/lib/mxx_ru/cpp/target.rb +1523 -1523
  31. data/lib/mxx_ru/cpp/toolset.rb +1087 -1087
  32. data/lib/mxx_ru/cpp/toolsets/bcc_win32_5.rb +53 -53
  33. data/lib/mxx_ru/cpp/toolsets/bcc_win32_family.rb +460 -460
  34. data/lib/mxx_ru/cpp/toolsets/c89_etk_nsk.rb +59 -59
  35. data/lib/mxx_ru/cpp/toolsets/c89_nsk.rb +59 -59
  36. data/lib/mxx_ru/cpp/toolsets/c89_nsk_family.rb +277 -277
  37. data/lib/mxx_ru/cpp/toolsets/gcc_cygwin.rb +58 -58
  38. data/lib/mxx_ru/cpp/toolsets/gcc_family.rb +420 -420
  39. data/lib/mxx_ru/cpp/toolsets/gcc_linux.rb +64 -64
  40. data/lib/mxx_ru/cpp/toolsets/gcc_mingw.rb +149 -150
  41. data/lib/mxx_ru/cpp/toolsets/gcc_sparc_solaris.rb +91 -91
  42. data/lib/mxx_ru/cpp/toolsets/gcc_unix_family.rb +103 -103
  43. data/lib/mxx_ru/cpp/toolsets/vc7.rb +62 -62
  44. data/lib/mxx_ru/cpp/toolsets/vc8.rb +455 -455
  45. data/lib/mxx_ru/cpp/toolsets/vc_family.rb +448 -448
  46. data/lib/mxx_ru/ex.rb +165 -165
  47. data/lib/mxx_ru/makestyle_generator.rb +146 -146
  48. data/lib/mxx_ru/textfile_unittest.rb +303 -303
  49. data/lib/mxx_ru/util.rb +340 -340
  50. data/tests/c/pcre/chartables.c +183 -183
  51. data/tests/c/pcre/config.h +99 -99
  52. data/tests/c/pcre/dftables.c +167 -167
  53. data/tests/c/pcre/get.c +349 -349
  54. data/tests/c/pcre/internal.h +677 -677
  55. data/tests/c/pcre/maketables.c +140 -140
  56. data/tests/c/pcre/pcre.c +8304 -8304
  57. data/tests/c/pcre/pcre.h +193 -193
  58. data/tests/c/pcre/pcre.rb +14 -14
  59. data/tests/c/pcre/pcredemo.c +316 -316
  60. data/tests/c/pcre/pcregrep.c +642 -642
  61. data/tests/c/pcre/pcreposix.c +305 -305
  62. data/tests/c/pcre/pcreposix.h +88 -88
  63. data/tests/c/pcre/pcretest.c +1483 -1483
  64. data/tests/c/pcre/perltest +211 -211
  65. data/tests/c/pcre/printint.c +360 -360
  66. data/tests/c/pcre/study.c +472 -472
  67. data/tests/cpp/cpp_sources_glob/build.rb +7 -7
  68. data/tests/cpp/cpp_sources_glob/some/module/prj.rb +10 -10
  69. data/tests/cpp/cpp_sources_glob/tc_cpp_sources_glob.rb +18 -18
  70. data/tests/cpp/mswin_res_dll/build.rb +14 -14
  71. data/tests/cpp/mswin_res_dll/dll.cpp +17 -17
  72. data/tests/cpp/mswin_res_dll/dll.rb +29 -29
  73. data/tests/cpp/mswin_res_dll/dll.rc +48 -48
  74. data/tests/cpp/mswin_res_dll/h/dll.hpp +8 -8
  75. data/tests/cpp/mswin_res_dll/h/res.h +3 -3
  76. data/tests/cpp/mswin_res_dll/main.cpp +13 -13
  77. data/tests/cpp/mswin_res_dll/main.rb +19 -19
  78. data/tests/cpp/mswin_res_dll/o/dll.o +0 -0
  79. data/tests/cpp/mswin_res_dll/tc_mswin_res_dll.rb +18 -18
  80. data/tests/cpp/mswin_res_exe/build.rb +23 -23
  81. data/tests/cpp/mswin_res_exe/h/res.h +3 -3
  82. data/tests/cpp/mswin_res_exe/main.cpp +17 -17
  83. data/tests/cpp/mswin_res_exe/main.rc +48 -48
  84. data/tests/cpp/mswin_res_exe/o/main.o +0 -0
  85. data/tests/cpp/mswin_res_exe/tc_mswin_res_exe.rb +18 -18
  86. data/tests/cpp/rucodegen.embedded/host_config.cpp +32 -32
  87. data/tests/cpp/rucodegen.embedded/impl/conn_params.cpp +7 -7
  88. data/tests/cpp/rucodegen.embedded/impl/conn_params.rb +14 -14
  89. data/tests/cpp/rucodegen.embedded/impl/h/conn_params.hpp +10 -10
  90. data/tests/cpp/rucodegen.embedded/prj.rb +16 -16
  91. data/tests/cpp/rucodegen.embedded/tc_rucodegen.rb +18 -18
  92. data/tests/cpp/rucodegen/host_config.cpp +20 -20
  93. data/tests/cpp/rucodegen/host_config.rb +14 -14
  94. data/tests/cpp/rucodegen/impl/conn_params.cpp +7 -7
  95. data/tests/cpp/rucodegen/impl/conn_params.rb +14 -14
  96. data/tests/cpp/rucodegen/impl/h/conn_params.hpp +10 -10
  97. data/tests/cpp/rucodegen/prj.rb +16 -16
  98. data/tests/cpp/rucodegen/tc_rucodegen.rb +18 -18
  99. data/tests/cpp/textfile_unittest/build.rb +8 -8
  100. data/tests/cpp/textfile_unittest/etalons/out_1.txt +1 -1
  101. data/tests/cpp/textfile_unittest/etalons/out_128.txt +128 -128
  102. data/tests/cpp/textfile_unittest/main.cpp +89 -89
  103. data/tests/cpp/textfile_unittest/prj.rb +8 -8
  104. data/tests/cpp/textfile_unittest/prj.ut.rb +18 -18
  105. data/tests/cpp/textfile_unittest/tc_textfile_unittest.rb +18 -18
  106. data/tests/cpp/toolset_name.rb +6 -6
  107. data/tests/cpp/vc_cleanup/prj_dll_no_implib.rb +10 -10
  108. data/tests/cpp/vc_cleanup/prj_dll_no_implib_simple_target_root.rb +11 -11
  109. data/tests/cpp/vc_cleanup/prj_dll_with_implib.rb +11 -11
  110. data/tests/cpp/vc_cleanup/prj_dll_with_implib_simple_target_root.rb +14 -14
  111. data/tests/cpp/vc_cleanup/prj_exe_no_implib.rb +10 -10
  112. data/tests/cpp/vc_cleanup/prj_exe_no_implib_simple_target_root.rb +11 -11
  113. data/tests/cpp/vc_cleanup/prj_lib.rb +10 -10
  114. data/tests/cpp/vc_cleanup/prj_lib_with_simple_target_root.rb +11 -11
  115. data/tests/cpp/vc_cleanup/tc_vc_cleanup.rb +23 -23
  116. data/tests/mxx_ru/binary_library/tc_binary_library.rb +57 -57
  117. data/tests/mxx_ru/binary_library/tc_binary_target_lib_methods.rb +114 -114
  118. data/tests/mxx_ru/change_default_value/ignoring_by_build_root/build.rb +8 -8
  119. data/tests/mxx_ru/change_default_value/ignoring_by_build_root/child_1.rb +5 -5
  120. data/tests/mxx_ru/change_default_value/ignoring_by_child_1/build.rb +7 -7
  121. data/tests/mxx_ru/change_default_value/ignoring_by_child_1/child_1.rb +5 -5
  122. data/tests/mxx_ru/change_default_value/ignoring_by_child_1/child_2.rb +5 -5
  123. data/tests/mxx_ru/change_default_value/ok/build.rb +8 -8
  124. data/tests/mxx_ru/change_default_value/ok/child_1.rb +8 -8
  125. data/tests/mxx_ru/lib_path/build.rb +8 -8
  126. data/tests/mxx_ru/lib_path/bye.rb +8 -8
  127. data/tests/mxx_ru/lib_path/hi.rb +8 -8
  128. data/tests/mxx_ru/lib_path/main.rb +12 -12
  129. data/tests/mxx_ru/lib_path/tc_lib_path.rb +18 -18
  130. data/tests/mxx_ru/obj_placements/tc_custom_subdir.rb +58 -58
  131. data/tests/mxx_ru/opt_lib_ext/build.rb +7 -7
  132. data/tests/mxx_ru/opt_lib_ext/hi.rb +7 -7
  133. data/tests/mxx_ru/opt_lib_ext/tc_opt_lib_ext.rb +18 -18
  134. data/tests/mxx_ru/opt_lib_ext/test-no-ext.rb +9 -9
  135. data/tests/mxx_ru/opt_lib_ext/test-with-ext.rb +13 -13
  136. data/tests/mxx_ru/plural_form_methods/tc.rb +72 -72
  137. data/tests/mxx_ru/qt_gen/tc_uic_result_subdir.rb +76 -76
  138. data/tests/mxx_ru/target_ext/prj_dll.rb +8 -8
  139. data/tests/mxx_ru/target_ext/prj_exe.rb +8 -8
  140. data/tests/mxx_ru/target_ext/prj_lib.rb +8 -8
  141. data/tests/mxx_ru/target_ext/tc_target_ext.rb +24 -24
  142. data/tests/mxx_ru/tc_makestyle_generator.rb +117 -117
  143. data/tests/mxx_ru/vc8/tc_actual_manifest.rb +230 -230
  144. data/tests/mxx_ru/vc8/tc_append_mt_commands.rb +104 -104
  145. data/tests/mxx_ru/vc8/tc_default_manifest.rb +17 -17
  146. data/tests/mxx_ru/vc8/tc_define_manifest.rb +173 -173
  147. data/tests/mxx_ru/vc8/tc_drop_default_manifest.rb +16 -16
  148. data/tests/mxx_ru/vc8/tc_invalid_params.rb +81 -81
  149. data/tests/mxx_ru/vc8/ts_vc8.rb +10 -10
  150. data/tests/qt/aclock/aclock.cpp +148 -148
  151. data/tests/qt/aclock/aclock.h +45 -45
  152. data/tests/qt/aclock/main.cpp +28 -28
  153. data/tests/qt/aclock/prj.rb +21 -21
  154. data/tests/qt/iconview/main.cpp +76 -76
  155. data/tests/qt/iconview/prj.rb +21 -21
  156. data/tests/qt/toplevel/main.cpp +9 -9
  157. data/tests/qt/toplevel/options.ui +587 -587
  158. data/tests/qt/toplevel/prj.rb +22 -22
  159. data/tests/test_with_compilation.rb +110 -110
  160. data/tests/unix/lib_linking_mode/a_shared.rb +7 -7
  161. data/tests/unix/lib_linking_mode/a_static.rb +7 -7
  162. data/tests/unix/lib_linking_mode/etalon/shared.txt +2 -2
  163. data/tests/unix/lib_linking_mode/etalon/static.txt +2 -2
  164. data/tests/unix/lib_linking_mode/main_conflict.rb +12 -12
  165. data/tests/unix/lib_linking_mode/main_conflict_2.rb +11 -11
  166. data/tests/unix/lib_linking_mode/main_shared.rb +9 -9
  167. data/tests/unix/lib_linking_mode/main_shared.ut.rb +11 -11
  168. data/tests/unix/lib_linking_mode/main_shared_2.rb +10 -10
  169. data/tests/unix/lib_linking_mode/main_shared_2.ut.rb +11 -11
  170. data/tests/unix/lib_linking_mode/main_static.rb +9 -9
  171. data/tests/unix/lib_linking_mode/main_static.ut.rb +11 -11
  172. data/tests/unix/lib_linking_mode/main_static_2.rb +10 -10
  173. data/tests/unix/lib_linking_mode/main_static_2.ut.rb +11 -11
  174. data/tests/unix/lib_linking_mode/tc_conflicted_build.rb +18 -18
  175. data/tests/unix/lib_linking_mode/tc_normal_build.rb +18 -18
  176. data/tests/unix/lib_order/tc_normal_build.rb +16 -16
  177. metadata +216 -205
@@ -1,183 +1,183 @@
1
- /*************************************************
2
- * Perl-Compatible Regular Expressions *
3
- *************************************************/
4
-
5
- /* This file is automatically written by the dftables auxiliary
6
- program. If you edit it by hand, you might like to edit the Makefile to
7
- prevent its ever being regenerated.
8
-
9
- This file is #included in the compilation of pcre.c to build the default
10
- character tables which are used when no tables are passed to the compile
11
- function. */
12
-
13
- static unsigned char pcre_default_tables[] = {
14
-
15
- /* This table is a lower casing table. */
16
-
17
- 0, 1, 2, 3, 4, 5, 6, 7,
18
- 8, 9, 10, 11, 12, 13, 14, 15,
19
- 16, 17, 18, 19, 20, 21, 22, 23,
20
- 24, 25, 26, 27, 28, 29, 30, 31,
21
- 32, 33, 34, 35, 36, 37, 38, 39,
22
- 40, 41, 42, 43, 44, 45, 46, 47,
23
- 48, 49, 50, 51, 52, 53, 54, 55,
24
- 56, 57, 58, 59, 60, 61, 62, 63,
25
- 64, 97, 98, 99,100,101,102,103,
26
- 104,105,106,107,108,109,110,111,
27
- 112,113,114,115,116,117,118,119,
28
- 120,121,122, 91, 92, 93, 94, 95,
29
- 96, 97, 98, 99,100,101,102,103,
30
- 104,105,106,107,108,109,110,111,
31
- 112,113,114,115,116,117,118,119,
32
- 120,121,122,123,124,125,126,127,
33
- 128,129,130,131,132,133,134,135,
34
- 136,137,138,139,140,141,142,143,
35
- 144,145,146,147,148,149,150,151,
36
- 152,153,154,155,156,157,158,159,
37
- 160,161,162,163,164,165,166,167,
38
- 168,169,170,171,172,173,174,175,
39
- 176,177,178,179,180,181,182,183,
40
- 184,185,186,187,188,189,190,191,
41
- 192,193,194,195,196,197,198,199,
42
- 200,201,202,203,204,205,206,207,
43
- 208,209,210,211,212,213,214,215,
44
- 216,217,218,219,220,221,222,223,
45
- 224,225,226,227,228,229,230,231,
46
- 232,233,234,235,236,237,238,239,
47
- 240,241,242,243,244,245,246,247,
48
- 248,249,250,251,252,253,254,255,
49
-
50
- /* This table is a case flipping table. */
51
-
52
- 0, 1, 2, 3, 4, 5, 6, 7,
53
- 8, 9, 10, 11, 12, 13, 14, 15,
54
- 16, 17, 18, 19, 20, 21, 22, 23,
55
- 24, 25, 26, 27, 28, 29, 30, 31,
56
- 32, 33, 34, 35, 36, 37, 38, 39,
57
- 40, 41, 42, 43, 44, 45, 46, 47,
58
- 48, 49, 50, 51, 52, 53, 54, 55,
59
- 56, 57, 58, 59, 60, 61, 62, 63,
60
- 64, 97, 98, 99,100,101,102,103,
61
- 104,105,106,107,108,109,110,111,
62
- 112,113,114,115,116,117,118,119,
63
- 120,121,122, 91, 92, 93, 94, 95,
64
- 96, 65, 66, 67, 68, 69, 70, 71,
65
- 72, 73, 74, 75, 76, 77, 78, 79,
66
- 80, 81, 82, 83, 84, 85, 86, 87,
67
- 88, 89, 90,123,124,125,126,127,
68
- 128,129,130,131,132,133,134,135,
69
- 136,137,138,139,140,141,142,143,
70
- 144,145,146,147,148,149,150,151,
71
- 152,153,154,155,156,157,158,159,
72
- 160,161,162,163,164,165,166,167,
73
- 168,169,170,171,172,173,174,175,
74
- 176,177,178,179,180,181,182,183,
75
- 184,185,186,187,188,189,190,191,
76
- 192,193,194,195,196,197,198,199,
77
- 200,201,202,203,204,205,206,207,
78
- 208,209,210,211,212,213,214,215,
79
- 216,217,218,219,220,221,222,223,
80
- 224,225,226,227,228,229,230,231,
81
- 232,233,234,235,236,237,238,239,
82
- 240,241,242,243,244,245,246,247,
83
- 248,249,250,251,252,253,254,255,
84
-
85
- /* This table contains bit maps for various character classes.
86
- Each map is 32 bytes long and the bits run from the least
87
- significant end of each byte. The classes that have their own
88
- maps are: space, xdigit, digit, upper, lower, word, graph
89
- print, punct, and cntrl. Other classes are built from combinations. */
90
-
91
- 0x00,0x3e,0x00,0x00,0x01,0x00,0x00,0x00,
92
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
93
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
94
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
95
-
96
- 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
97
- 0x7e,0x00,0x00,0x00,0x7e,0x00,0x00,0x00,
98
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
99
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
100
-
101
- 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
102
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
103
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
104
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
105
-
106
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
107
- 0xfe,0xff,0xff,0x07,0x00,0x00,0x00,0x00,
108
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
109
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
110
-
111
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
112
- 0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0x07,
113
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
114
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
115
-
116
- 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
117
- 0xfe,0xff,0xff,0x87,0xfe,0xff,0xff,0x07,
118
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
119
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
120
-
121
- 0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0xff,
122
- 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
123
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
124
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
125
-
126
- 0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,
127
- 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
128
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
129
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
130
-
131
- 0x00,0x00,0x00,0x00,0xfe,0xff,0x00,0xfc,
132
- 0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x78,
133
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
134
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
135
-
136
- 0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,
137
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
138
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
139
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
140
-
141
- /* This table identifies various classes of character by individual bits:
142
- 0x01 white space character
143
- 0x02 letter
144
- 0x04 decimal digit
145
- 0x08 hexadecimal digit
146
- 0x10 alphanumeric or '_'
147
- 0x80 regular expression metacharacter or binary zero
148
- */
149
-
150
- 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 0- 7 */
151
- 0x00,0x01,0x01,0x00,0x01,0x01,0x00,0x00, /* 8- 15 */
152
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 16- 23 */
153
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 24- 31 */
154
- 0x01,0x00,0x00,0x00,0x80,0x00,0x00,0x00, /* - ' */
155
- 0x80,0x80,0x80,0x80,0x00,0x00,0x80,0x00, /* ( - / */
156
- 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, /* 0 - 7 */
157
- 0x1c,0x1c,0x00,0x00,0x00,0x00,0x00,0x80, /* 8 - ? */
158
- 0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /* @ - G */
159
- 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* H - O */
160
- 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* P - W */
161
- 0x12,0x12,0x12,0x80,0x00,0x00,0x80,0x10, /* X - _ */
162
- 0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /* ` - g */
163
- 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* h - o */
164
- 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* p - w */
165
- 0x12,0x12,0x12,0x80,0x80,0x00,0x00,0x00, /* x -127 */
166
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 128-135 */
167
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 136-143 */
168
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 144-151 */
169
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 152-159 */
170
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 160-167 */
171
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 168-175 */
172
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 176-183 */
173
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 184-191 */
174
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 192-199 */
175
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 200-207 */
176
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 208-215 */
177
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 216-223 */
178
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 224-231 */
179
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 232-239 */
180
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 240-247 */
181
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};/* 248-255 */
182
-
183
- /* End of chartables.c */
1
+ /*************************************************
2
+ * Perl-Compatible Regular Expressions *
3
+ *************************************************/
4
+
5
+ /* This file is automatically written by the dftables auxiliary
6
+ program. If you edit it by hand, you might like to edit the Makefile to
7
+ prevent its ever being regenerated.
8
+
9
+ This file is #included in the compilation of pcre.c to build the default
10
+ character tables which are used when no tables are passed to the compile
11
+ function. */
12
+
13
+ static unsigned char pcre_default_tables[] = {
14
+
15
+ /* This table is a lower casing table. */
16
+
17
+ 0, 1, 2, 3, 4, 5, 6, 7,
18
+ 8, 9, 10, 11, 12, 13, 14, 15,
19
+ 16, 17, 18, 19, 20, 21, 22, 23,
20
+ 24, 25, 26, 27, 28, 29, 30, 31,
21
+ 32, 33, 34, 35, 36, 37, 38, 39,
22
+ 40, 41, 42, 43, 44, 45, 46, 47,
23
+ 48, 49, 50, 51, 52, 53, 54, 55,
24
+ 56, 57, 58, 59, 60, 61, 62, 63,
25
+ 64, 97, 98, 99,100,101,102,103,
26
+ 104,105,106,107,108,109,110,111,
27
+ 112,113,114,115,116,117,118,119,
28
+ 120,121,122, 91, 92, 93, 94, 95,
29
+ 96, 97, 98, 99,100,101,102,103,
30
+ 104,105,106,107,108,109,110,111,
31
+ 112,113,114,115,116,117,118,119,
32
+ 120,121,122,123,124,125,126,127,
33
+ 128,129,130,131,132,133,134,135,
34
+ 136,137,138,139,140,141,142,143,
35
+ 144,145,146,147,148,149,150,151,
36
+ 152,153,154,155,156,157,158,159,
37
+ 160,161,162,163,164,165,166,167,
38
+ 168,169,170,171,172,173,174,175,
39
+ 176,177,178,179,180,181,182,183,
40
+ 184,185,186,187,188,189,190,191,
41
+ 192,193,194,195,196,197,198,199,
42
+ 200,201,202,203,204,205,206,207,
43
+ 208,209,210,211,212,213,214,215,
44
+ 216,217,218,219,220,221,222,223,
45
+ 224,225,226,227,228,229,230,231,
46
+ 232,233,234,235,236,237,238,239,
47
+ 240,241,242,243,244,245,246,247,
48
+ 248,249,250,251,252,253,254,255,
49
+
50
+ /* This table is a case flipping table. */
51
+
52
+ 0, 1, 2, 3, 4, 5, 6, 7,
53
+ 8, 9, 10, 11, 12, 13, 14, 15,
54
+ 16, 17, 18, 19, 20, 21, 22, 23,
55
+ 24, 25, 26, 27, 28, 29, 30, 31,
56
+ 32, 33, 34, 35, 36, 37, 38, 39,
57
+ 40, 41, 42, 43, 44, 45, 46, 47,
58
+ 48, 49, 50, 51, 52, 53, 54, 55,
59
+ 56, 57, 58, 59, 60, 61, 62, 63,
60
+ 64, 97, 98, 99,100,101,102,103,
61
+ 104,105,106,107,108,109,110,111,
62
+ 112,113,114,115,116,117,118,119,
63
+ 120,121,122, 91, 92, 93, 94, 95,
64
+ 96, 65, 66, 67, 68, 69, 70, 71,
65
+ 72, 73, 74, 75, 76, 77, 78, 79,
66
+ 80, 81, 82, 83, 84, 85, 86, 87,
67
+ 88, 89, 90,123,124,125,126,127,
68
+ 128,129,130,131,132,133,134,135,
69
+ 136,137,138,139,140,141,142,143,
70
+ 144,145,146,147,148,149,150,151,
71
+ 152,153,154,155,156,157,158,159,
72
+ 160,161,162,163,164,165,166,167,
73
+ 168,169,170,171,172,173,174,175,
74
+ 176,177,178,179,180,181,182,183,
75
+ 184,185,186,187,188,189,190,191,
76
+ 192,193,194,195,196,197,198,199,
77
+ 200,201,202,203,204,205,206,207,
78
+ 208,209,210,211,212,213,214,215,
79
+ 216,217,218,219,220,221,222,223,
80
+ 224,225,226,227,228,229,230,231,
81
+ 232,233,234,235,236,237,238,239,
82
+ 240,241,242,243,244,245,246,247,
83
+ 248,249,250,251,252,253,254,255,
84
+
85
+ /* This table contains bit maps for various character classes.
86
+ Each map is 32 bytes long and the bits run from the least
87
+ significant end of each byte. The classes that have their own
88
+ maps are: space, xdigit, digit, upper, lower, word, graph
89
+ print, punct, and cntrl. Other classes are built from combinations. */
90
+
91
+ 0x00,0x3e,0x00,0x00,0x01,0x00,0x00,0x00,
92
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
93
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
94
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
95
+
96
+ 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
97
+ 0x7e,0x00,0x00,0x00,0x7e,0x00,0x00,0x00,
98
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
99
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
100
+
101
+ 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
102
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
103
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
104
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
105
+
106
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
107
+ 0xfe,0xff,0xff,0x07,0x00,0x00,0x00,0x00,
108
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
109
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
110
+
111
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
112
+ 0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0x07,
113
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
114
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
115
+
116
+ 0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x03,
117
+ 0xfe,0xff,0xff,0x87,0xfe,0xff,0xff,0x07,
118
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
119
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
120
+
121
+ 0x00,0x00,0x00,0x00,0xfe,0xff,0xff,0xff,
122
+ 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
123
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
124
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
125
+
126
+ 0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,
127
+ 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,
128
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
129
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
130
+
131
+ 0x00,0x00,0x00,0x00,0xfe,0xff,0x00,0xfc,
132
+ 0x01,0x00,0x00,0xf8,0x01,0x00,0x00,0x78,
133
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
134
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
135
+
136
+ 0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,
137
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
138
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
139
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
140
+
141
+ /* This table identifies various classes of character by individual bits:
142
+ 0x01 white space character
143
+ 0x02 letter
144
+ 0x04 decimal digit
145
+ 0x08 hexadecimal digit
146
+ 0x10 alphanumeric or '_'
147
+ 0x80 regular expression metacharacter or binary zero
148
+ */
149
+
150
+ 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 0- 7 */
151
+ 0x00,0x01,0x01,0x00,0x01,0x01,0x00,0x00, /* 8- 15 */
152
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 16- 23 */
153
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 24- 31 */
154
+ 0x01,0x00,0x00,0x00,0x80,0x00,0x00,0x00, /* - ' */
155
+ 0x80,0x80,0x80,0x80,0x00,0x00,0x80,0x00, /* ( - / */
156
+ 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, /* 0 - 7 */
157
+ 0x1c,0x1c,0x00,0x00,0x00,0x00,0x00,0x80, /* 8 - ? */
158
+ 0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /* @ - G */
159
+ 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* H - O */
160
+ 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* P - W */
161
+ 0x12,0x12,0x12,0x80,0x00,0x00,0x80,0x10, /* X - _ */
162
+ 0x00,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x12, /* ` - g */
163
+ 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* h - o */
164
+ 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, /* p - w */
165
+ 0x12,0x12,0x12,0x80,0x80,0x00,0x00,0x00, /* x -127 */
166
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 128-135 */
167
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 136-143 */
168
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 144-151 */
169
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 152-159 */
170
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 160-167 */
171
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 168-175 */
172
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 176-183 */
173
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 184-191 */
174
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 192-199 */
175
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 200-207 */
176
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 208-215 */
177
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 216-223 */
178
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 224-231 */
179
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 232-239 */
180
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 240-247 */
181
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};/* 248-255 */
182
+
183
+ /* End of chartables.c */
@@ -1,99 +1,99 @@
1
-
2
- /* On Unix systems config.in is converted by configure into config.h. PCRE is
3
- written in Standard C, but there are a few non-standard things it can cope
4
- with, allowing it to run on SunOS4 and other "close to standard" systems.
5
-
6
- On a non-Unix system you should just copy this file into config.h, and set up
7
- the macros the way you need them. You should normally change the definitions of
8
- HAVE_STRERROR and HAVE_MEMMOVE to 1. Unfortunately, because of the way autoconf
9
- works, these cannot be made the defaults. If your system has bcopy() and not
10
- memmove(), change the definition of HAVE_BCOPY instead of HAVE_MEMMOVE. If your
11
- system has neither bcopy() nor memmove(), leave them both as 0; an emulation
12
- function will be used. */
13
-
14
- /* If you are compiling for a system that uses EBCDIC instead of ASCII
15
- character codes, define this macro as 1. On systems that can use "configure",
16
- this can be done via --enable-ebcdic. */
17
-
18
- #ifndef EBCDIC
19
- #define EBCDIC 0
20
- #endif
21
-
22
- /* If you are compiling for a system that needs some magic to be inserted
23
- before the definition of an exported function, define this macro to contain the
24
- relevant magic. It apears at the start of every exported function. */
25
-
26
- #define EXPORT
27
-
28
- /* The following two definitions are mainly for the benefit of SunOS4, which
29
- doesn't have the strerror() or memmove() functions that should be present in
30
- all Standard C libraries. The macros HAVE_STRERROR and HAVE_MEMMOVE should
31
- normally be defined with the value 1 for other systems, but unfortunately we
32
- can't make this the default because "configure" files generated by autoconf
33
- will only change 0 to 1; they won't change 1 to 0 if the functions are not
34
- found. */
35
-
36
- #define HAVE_STRERROR 1
37
- #define HAVE_MEMMOVE 1
38
-
39
- /* There are some non-Unix systems that don't even have bcopy(). If this macro
40
- is false, an emulation is used. If HAVE_MEMMOVE is set to 1, the value of
41
- HAVE_BCOPY is not relevant. */
42
-
43
- #define HAVE_BCOPY 0
44
-
45
- /* The value of NEWLINE determines the newline character. The default is to
46
- leave it up to the compiler, but some sites want to force a particular value.
47
- On Unix systems, "configure" can be used to override this default. */
48
-
49
- #ifndef NEWLINE
50
- #define NEWLINE '\n'
51
- #endif
52
-
53
- /* The value of LINK_SIZE determines the number of bytes used to store
54
- links as offsets within the compiled regex. The default is 2, which allows for
55
- compiled patterns up to 64K long. This covers the vast majority of cases.
56
- However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows for
57
- longer patterns in extreme cases. On Unix systems, "configure" can be used to
58
- override this default. */
59
-
60
- #ifndef LINK_SIZE
61
- #define LINK_SIZE 2
62
- #endif
63
-
64
- /* The value of MATCH_LIMIT determines the default number of times the match()
65
- function can be called during a single execution of pcre_exec(). (There is a
66
- runtime method of setting a different limit.) The limit exists in order to
67
- catch runaway regular expressions that take for ever to determine that they do
68
- not match. The default is set very large so that it does not accidentally catch
69
- legitimate cases. On Unix systems, "configure" can be used to override this
70
- default default. */
71
-
72
- #ifndef MATCH_LIMIT
73
- #define MATCH_LIMIT 10000000
74
- #endif
75
-
76
- /* When calling PCRE via the POSIX interface, additional working storage is
77
- required for holding the pointers to capturing substrings because PCRE requires
78
- three integers per substring, whereas the POSIX interface provides only two. If
79
- the number of expected substrings is small, the wrapper function uses space on
80
- the stack, because this is faster than using malloc() for each call. The
81
- threshold above which the stack is no longer use is defined by POSIX_MALLOC_
82
- THRESHOLD. On Unix systems, "configure" can be used to override this default.
83
- */
84
-
85
- #ifndef POSIX_MALLOC_THRESHOLD
86
- #define POSIX_MALLOC_THRESHOLD 10
87
- #endif
88
-
89
- /* PCRE uses recursive function calls to handle backtracking while matching.
90
- This can sometimes be a problem on systems that have stacks of limited size.
91
- Define NO_RECURSE to get a version that doesn't use recursion in the match()
92
- function; instead it creates its own stack by steam using pcre_recurse_malloc
93
- to get memory. For more detail, see comments and other stuff just above the
94
- match() function. On Unix systems, "configure" can be used to set this in the
95
- Makefile (use --disable-recursion). */
96
-
97
- /* #define NO_RECURSE */
98
-
99
- /* End */
1
+
2
+ /* On Unix systems config.in is converted by configure into config.h. PCRE is
3
+ written in Standard C, but there are a few non-standard things it can cope
4
+ with, allowing it to run on SunOS4 and other "close to standard" systems.
5
+
6
+ On a non-Unix system you should just copy this file into config.h, and set up
7
+ the macros the way you need them. You should normally change the definitions of
8
+ HAVE_STRERROR and HAVE_MEMMOVE to 1. Unfortunately, because of the way autoconf
9
+ works, these cannot be made the defaults. If your system has bcopy() and not
10
+ memmove(), change the definition of HAVE_BCOPY instead of HAVE_MEMMOVE. If your
11
+ system has neither bcopy() nor memmove(), leave them both as 0; an emulation
12
+ function will be used. */
13
+
14
+ /* If you are compiling for a system that uses EBCDIC instead of ASCII
15
+ character codes, define this macro as 1. On systems that can use "configure",
16
+ this can be done via --enable-ebcdic. */
17
+
18
+ #ifndef EBCDIC
19
+ #define EBCDIC 0
20
+ #endif
21
+
22
+ /* If you are compiling for a system that needs some magic to be inserted
23
+ before the definition of an exported function, define this macro to contain the
24
+ relevant magic. It apears at the start of every exported function. */
25
+
26
+ #define EXPORT
27
+
28
+ /* The following two definitions are mainly for the benefit of SunOS4, which
29
+ doesn't have the strerror() or memmove() functions that should be present in
30
+ all Standard C libraries. The macros HAVE_STRERROR and HAVE_MEMMOVE should
31
+ normally be defined with the value 1 for other systems, but unfortunately we
32
+ can't make this the default because "configure" files generated by autoconf
33
+ will only change 0 to 1; they won't change 1 to 0 if the functions are not
34
+ found. */
35
+
36
+ #define HAVE_STRERROR 1
37
+ #define HAVE_MEMMOVE 1
38
+
39
+ /* There are some non-Unix systems that don't even have bcopy(). If this macro
40
+ is false, an emulation is used. If HAVE_MEMMOVE is set to 1, the value of
41
+ HAVE_BCOPY is not relevant. */
42
+
43
+ #define HAVE_BCOPY 0
44
+
45
+ /* The value of NEWLINE determines the newline character. The default is to
46
+ leave it up to the compiler, but some sites want to force a particular value.
47
+ On Unix systems, "configure" can be used to override this default. */
48
+
49
+ #ifndef NEWLINE
50
+ #define NEWLINE '\n'
51
+ #endif
52
+
53
+ /* The value of LINK_SIZE determines the number of bytes used to store
54
+ links as offsets within the compiled regex. The default is 2, which allows for
55
+ compiled patterns up to 64K long. This covers the vast majority of cases.
56
+ However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows for
57
+ longer patterns in extreme cases. On Unix systems, "configure" can be used to
58
+ override this default. */
59
+
60
+ #ifndef LINK_SIZE
61
+ #define LINK_SIZE 2
62
+ #endif
63
+
64
+ /* The value of MATCH_LIMIT determines the default number of times the match()
65
+ function can be called during a single execution of pcre_exec(). (There is a
66
+ runtime method of setting a different limit.) The limit exists in order to
67
+ catch runaway regular expressions that take for ever to determine that they do
68
+ not match. The default is set very large so that it does not accidentally catch
69
+ legitimate cases. On Unix systems, "configure" can be used to override this
70
+ default default. */
71
+
72
+ #ifndef MATCH_LIMIT
73
+ #define MATCH_LIMIT 10000000
74
+ #endif
75
+
76
+ /* When calling PCRE via the POSIX interface, additional working storage is
77
+ required for holding the pointers to capturing substrings because PCRE requires
78
+ three integers per substring, whereas the POSIX interface provides only two. If
79
+ the number of expected substrings is small, the wrapper function uses space on
80
+ the stack, because this is faster than using malloc() for each call. The
81
+ threshold above which the stack is no longer use is defined by POSIX_MALLOC_
82
+ THRESHOLD. On Unix systems, "configure" can be used to override this default.
83
+ */
84
+
85
+ #ifndef POSIX_MALLOC_THRESHOLD
86
+ #define POSIX_MALLOC_THRESHOLD 10
87
+ #endif
88
+
89
+ /* PCRE uses recursive function calls to handle backtracking while matching.
90
+ This can sometimes be a problem on systems that have stacks of limited size.
91
+ Define NO_RECURSE to get a version that doesn't use recursion in the match()
92
+ function; instead it creates its own stack by steam using pcre_recurse_malloc
93
+ to get memory. For more detail, see comments and other stuff just above the
94
+ match() function. On Unix systems, "configure" can be used to set this in the
95
+ Makefile (use --disable-recursion). */
96
+
97
+ /* #define NO_RECURSE */
98
+
99
+ /* End */