commonmarker 0.17.7 → 0.17.7.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of commonmarker might be problematic. Click here for more details.

Files changed (337) hide show
  1. checksums.yaml +4 -4
  2. data/commonmarker.gemspec +1 -1
  3. data/lib/commonmarker/version.rb +1 -1
  4. metadata +2 -335
  5. data/ext/commonmarker/cmark-upstream/CMakeLists.txt +0 -44
  6. data/ext/commonmarker/cmark-upstream/COPYING +0 -170
  7. data/ext/commonmarker/cmark-upstream/FindAsan.cmake +0 -74
  8. data/ext/commonmarker/cmark-upstream/Makefile +0 -226
  9. data/ext/commonmarker/cmark-upstream/Makefile.nmake +0 -36
  10. data/ext/commonmarker/cmark-upstream/README.md +0 -206
  11. data/ext/commonmarker/cmark-upstream/api_test/CMakeLists.txt +0 -26
  12. data/ext/commonmarker/cmark-upstream/api_test/cplusplus.cpp +0 -15
  13. data/ext/commonmarker/cmark-upstream/api_test/cplusplus.h +0 -16
  14. data/ext/commonmarker/cmark-upstream/api_test/harness.c +0 -110
  15. data/ext/commonmarker/cmark-upstream/api_test/harness.h +0 -35
  16. data/ext/commonmarker/cmark-upstream/api_test/main.c +0 -1116
  17. data/ext/commonmarker/cmark-upstream/appveyor.yml +0 -17
  18. data/ext/commonmarker/cmark-upstream/bench/samples/block-bq-flat.md +0 -16
  19. data/ext/commonmarker/cmark-upstream/bench/samples/block-bq-nested.md +0 -13
  20. data/ext/commonmarker/cmark-upstream/bench/samples/block-code.md +0 -11
  21. data/ext/commonmarker/cmark-upstream/bench/samples/block-fences.md +0 -14
  22. data/ext/commonmarker/cmark-upstream/bench/samples/block-heading.md +0 -9
  23. data/ext/commonmarker/cmark-upstream/bench/samples/block-hr.md +0 -10
  24. data/ext/commonmarker/cmark-upstream/bench/samples/block-html.md +0 -32
  25. data/ext/commonmarker/cmark-upstream/bench/samples/block-lheading.md +0 -8
  26. data/ext/commonmarker/cmark-upstream/bench/samples/block-list-flat.md +0 -67
  27. data/ext/commonmarker/cmark-upstream/bench/samples/block-list-nested.md +0 -36
  28. data/ext/commonmarker/cmark-upstream/bench/samples/block-ref-flat.md +0 -15
  29. data/ext/commonmarker/cmark-upstream/bench/samples/block-ref-nested.md +0 -17
  30. data/ext/commonmarker/cmark-upstream/bench/samples/inline-autolink.md +0 -14
  31. data/ext/commonmarker/cmark-upstream/bench/samples/inline-backticks.md +0 -3
  32. data/ext/commonmarker/cmark-upstream/bench/samples/inline-em-flat.md +0 -5
  33. data/ext/commonmarker/cmark-upstream/bench/samples/inline-em-nested.md +0 -5
  34. data/ext/commonmarker/cmark-upstream/bench/samples/inline-em-worst.md +0 -5
  35. data/ext/commonmarker/cmark-upstream/bench/samples/inline-entity.md +0 -11
  36. data/ext/commonmarker/cmark-upstream/bench/samples/inline-escape.md +0 -15
  37. data/ext/commonmarker/cmark-upstream/bench/samples/inline-html.md +0 -44
  38. data/ext/commonmarker/cmark-upstream/bench/samples/inline-links-flat.md +0 -23
  39. data/ext/commonmarker/cmark-upstream/bench/samples/inline-links-nested.md +0 -13
  40. data/ext/commonmarker/cmark-upstream/bench/samples/inline-newlines.md +0 -24
  41. data/ext/commonmarker/cmark-upstream/bench/samples/lorem1.md +0 -13
  42. data/ext/commonmarker/cmark-upstream/bench/samples/rawtabs.md +0 -18
  43. data/ext/commonmarker/cmark-upstream/bench/statistics.py +0 -595
  44. data/ext/commonmarker/cmark-upstream/bench/stats.py +0 -19
  45. data/ext/commonmarker/cmark-upstream/benchmarks.md +0 -33
  46. data/ext/commonmarker/cmark-upstream/build/CMakeCache.txt +0 -478
  47. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeCCompiler.cmake +0 -71
  48. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeCXXCompiler.cmake +0 -73
  49. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeDetermineCompilerABI_C.bin +0 -0
  50. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeDetermineCompilerABI_CXX.bin +0 -0
  51. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CMakeSystem.cmake +0 -15
  52. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdC/CMakeCCompilerId.c +0 -567
  53. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdC/a.out +0 -0
  54. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -539
  55. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/3.9.6/CompilerIdCXX/a.out +0 -0
  56. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  57. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/CMakeError.log +0 -18
  58. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/CMakeOutput.log +0 -709
  59. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/Makefile.cmake +0 -157
  60. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/Makefile2 +0 -391
  61. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/TargetDirectories.txt +0 -48
  62. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/cmake.check_cache +0 -1
  63. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/feature_tests.bin +0 -0
  64. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/feature_tests.c +0 -34
  65. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/feature_tests.cxx +0 -405
  66. data/ext/commonmarker/cmark-upstream/build/CMakeFiles/progress.marks +0 -1
  67. data/ext/commonmarker/cmark-upstream/build/CTestTestfile.cmake +0 -11
  68. data/ext/commonmarker/cmark-upstream/build/Makefile +0 -280
  69. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  70. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/C.includecache +0 -134
  71. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/CXX.includecache +0 -38
  72. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +0 -38
  73. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/build.make +0 -169
  74. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +0 -12
  75. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/cplusplus.cpp.o +0 -0
  76. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/depend.internal +0 -28
  77. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/depend.make +0 -28
  78. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/flags.make +0 -17
  79. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/harness.c.o +0 -0
  80. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/link.txt +0 -1
  81. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/main.c.o +0 -0
  82. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/api_test.dir/progress.make +0 -5
  83. data/ext/commonmarker/cmark-upstream/build/api_test/CMakeFiles/progress.marks +0 -1
  84. data/ext/commonmarker/cmark-upstream/build/api_test/Makefile +0 -302
  85. data/ext/commonmarker/cmark-upstream/build/api_test/api_test +0 -0
  86. data/ext/commonmarker/cmark-upstream/build/api_test/cmake_install.cmake +0 -29
  87. data/ext/commonmarker/cmark-upstream/build/cmake_install.cmake +0 -49
  88. data/ext/commonmarker/cmark-upstream/build/compile_commands.json +0 -352
  89. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  90. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/Export/lib/cmake-gfmextensions/cmark-gfmextensions-release.cmake +0 -30
  91. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/Export/lib/cmake-gfmextensions/cmark-gfmextensions.cmake +0 -108
  92. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/C.includecache +0 -246
  93. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/DependInfo.cmake +0 -36
  94. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/autolink.c.o +0 -0
  95. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/build.make +0 -253
  96. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/cmake_clean.cmake +0 -16
  97. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/core-extensions.c.o +0 -0
  98. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/depend.internal +0 -96
  99. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/depend.make +0 -96
  100. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/ext_scanners.c.o +0 -0
  101. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/flags.make +0 -10
  102. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/link.txt +0 -1
  103. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/progress.make +0 -8
  104. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/strikethrough.c.o +0 -0
  105. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/table.c.o +0 -0
  106. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/tagfilter.c.o +0 -0
  107. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/C.includecache +0 -246
  108. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/DependInfo.cmake +0 -29
  109. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/autolink.c.o +0 -0
  110. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/build.make +0 -249
  111. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean.cmake +0 -15
  112. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean_target.cmake +0 -3
  113. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/core-extensions.c.o +0 -0
  114. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.internal +0 -96
  115. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.make +0 -96
  116. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/ext_scanners.c.o +0 -0
  117. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/flags.make +0 -10
  118. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/link.txt +0 -2
  119. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/progress.make +0 -8
  120. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/strikethrough.c.o +0 -0
  121. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/table.c.o +0 -0
  122. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/tagfilter.c.o +0 -0
  123. data/ext/commonmarker/cmark-upstream/build/extensions/CMakeFiles/progress.marks +0 -1
  124. data/ext/commonmarker/cmark-upstream/build/extensions/Makefile +0 -426
  125. data/ext/commonmarker/cmark-upstream/build/extensions/cmake_install.cmake +0 -84
  126. data/ext/commonmarker/cmark-upstream/build/extensions/cmarkextensions_export.h +0 -42
  127. data/ext/commonmarker/cmark-upstream/build/extensions/libcmark-gfmextensions.0.28.3.gfm.11.dylib +0 -0
  128. data/ext/commonmarker/cmark-upstream/build/extensions/libcmark-gfmextensions.a +0 -0
  129. data/ext/commonmarker/cmark-upstream/build/extensions/libcmark-gfmextensions.dylib +0 -1
  130. data/ext/commonmarker/cmark-upstream/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  131. data/ext/commonmarker/cmark-upstream/build/man/CMakeFiles/progress.marks +0 -1
  132. data/ext/commonmarker/cmark-upstream/build/man/Makefile +0 -196
  133. data/ext/commonmarker/cmark-upstream/build/man/cmake_install.cmake +0 -37
  134. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  135. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/Export/lib/cmake/cmark-gfm-release.cmake +0 -38
  136. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/Export/lib/cmake/cmark-gfm.cmake +0 -95
  137. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/C.includecache +0 -156
  138. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/DependInfo.cmake +0 -30
  139. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/build.make +0 -115
  140. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/cmake_clean.cmake +0 -10
  141. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/depend.internal +0 -20
  142. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/depend.make +0 -20
  143. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/flags.make +0 -10
  144. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/link.txt +0 -1
  145. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/main.c.o +0 -0
  146. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/cmark-gfm.dir/progress.make +0 -3
  147. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/C.includecache +0 -612
  148. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/DependInfo.cmake +0 -60
  149. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/arena.c.o +0 -0
  150. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/blocks.c.o +0 -0
  151. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/buffer.c.o +0 -0
  152. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/build.make +0 -819
  153. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/cmake_clean.cmake +0 -37
  154. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/cmark.c.o +0 -0
  155. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/cmark_ctype.c.o +0 -0
  156. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/commonmark.c.o +0 -0
  157. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/depend.internal +0 -319
  158. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/depend.make +0 -319
  159. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/flags.make +0 -10
  160. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/footnotes.c.o +0 -0
  161. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/houdini_href_e.c.o +0 -0
  162. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/houdini_html_e.c.o +0 -0
  163. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/houdini_html_u.c.o +0 -0
  164. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/html.c.o +0 -0
  165. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/inlines.c.o +0 -0
  166. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/iterator.c.o +0 -0
  167. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/latex.c.o +0 -0
  168. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/link.txt +0 -1
  169. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/linked_list.c.o +0 -0
  170. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/man.c.o +0 -0
  171. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/map.c.o +0 -0
  172. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/node.c.o +0 -0
  173. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/plaintext.c.o +0 -0
  174. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/plugin.c.o +0 -0
  175. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/progress.make +0 -29
  176. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/references.c.o +0 -0
  177. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/registry.c.o +0 -0
  178. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/render.c.o +0 -0
  179. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/scanners.c.o +0 -0
  180. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/syntax_extension.c.o +0 -0
  181. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/utf8.c.o +0 -0
  182. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm.dir/xml.c.o +0 -0
  183. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/C.includecache +0 -612
  184. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/DependInfo.cmake +0 -54
  185. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/arena.c.o +0 -0
  186. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/blocks.c.o +0 -0
  187. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/buffer.c.o +0 -0
  188. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/build.make +0 -816
  189. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean.cmake +0 -36
  190. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean_target.cmake +0 -3
  191. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark.c.o +0 -0
  192. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark_ctype.c.o +0 -0
  193. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/commonmark.c.o +0 -0
  194. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.internal +0 -319
  195. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.make +0 -319
  196. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/flags.make +0 -10
  197. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/footnotes.c.o +0 -0
  198. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_href_e.c.o +0 -0
  199. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_e.c.o +0 -0
  200. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_u.c.o +0 -0
  201. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/html.c.o +0 -0
  202. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/inlines.c.o +0 -0
  203. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/iterator.c.o +0 -0
  204. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/latex.c.o +0 -0
  205. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/link.txt +0 -2
  206. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/linked_list.c.o +0 -0
  207. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/man.c.o +0 -0
  208. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/map.c.o +0 -0
  209. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/node.c.o +0 -0
  210. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/plaintext.c.o +0 -0
  211. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/plugin.c.o +0 -0
  212. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/progress.make +0 -29
  213. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/references.c.o +0 -0
  214. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/registry.c.o +0 -0
  215. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/render.c.o +0 -0
  216. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/scanners.c.o +0 -0
  217. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/syntax_extension.c.o +0 -0
  218. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/utf8.c.o +0 -0
  219. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/libcmark-gfm_static.dir/xml.c.o +0 -0
  220. data/ext/commonmarker/cmark-upstream/build/src/CMakeFiles/progress.marks +0 -1
  221. data/ext/commonmarker/cmark-upstream/build/src/Makefile +0 -1165
  222. data/ext/commonmarker/cmark-upstream/build/src/cmake_install.cmake +0 -97
  223. data/ext/commonmarker/cmark-upstream/build/src/cmark-gfm +0 -0
  224. data/ext/commonmarker/cmark-upstream/build/src/cmark_export.h +0 -42
  225. data/ext/commonmarker/cmark-upstream/build/src/cmark_version.h +0 -8
  226. data/ext/commonmarker/cmark-upstream/build/src/config.h +0 -76
  227. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.0.28.3.gfm.11.dylib +0 -0
  228. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.a +0 -0
  229. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.dylib +0 -1
  230. data/ext/commonmarker/cmark-upstream/build/src/libcmark-gfm.pc +0 -10
  231. data/ext/commonmarker/cmark-upstream/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  232. data/ext/commonmarker/cmark-upstream/build/testdir/CMakeFiles/progress.marks +0 -1
  233. data/ext/commonmarker/cmark-upstream/build/testdir/CTestTestfile.cmake +0 -17
  234. data/ext/commonmarker/cmark-upstream/build/testdir/Makefile +0 -196
  235. data/ext/commonmarker/cmark-upstream/build/testdir/cmake_install.cmake +0 -29
  236. data/ext/commonmarker/cmark-upstream/changelog.txt +0 -964
  237. data/ext/commonmarker/cmark-upstream/data/CaseFolding.txt +0 -1495
  238. data/ext/commonmarker/cmark-upstream/extensions/CMakeLists.txt +0 -124
  239. data/ext/commonmarker/cmark-upstream/extensions/autolink.c +0 -421
  240. data/ext/commonmarker/cmark-upstream/extensions/autolink.h +0 -8
  241. data/ext/commonmarker/cmark-upstream/extensions/core-extensions.c +0 -25
  242. data/ext/commonmarker/cmark-upstream/extensions/core-extensions.h +0 -25
  243. data/ext/commonmarker/cmark-upstream/extensions/ext_scanners.c +0 -941
  244. data/ext/commonmarker/cmark-upstream/extensions/ext_scanners.h +0 -22
  245. data/ext/commonmarker/cmark-upstream/extensions/ext_scanners.re +0 -74
  246. data/ext/commonmarker/cmark-upstream/extensions/strikethrough.c +0 -157
  247. data/ext/commonmarker/cmark-upstream/extensions/strikethrough.h +0 -9
  248. data/ext/commonmarker/cmark-upstream/extensions/table.c +0 -683
  249. data/ext/commonmarker/cmark-upstream/extensions/table.h +0 -8
  250. data/ext/commonmarker/cmark-upstream/extensions/tagfilter.c +0 -60
  251. data/ext/commonmarker/cmark-upstream/extensions/tagfilter.h +0 -8
  252. data/ext/commonmarker/cmark-upstream/man/CMakeLists.txt +0 -10
  253. data/ext/commonmarker/cmark-upstream/man/make_man_page.py +0 -133
  254. data/ext/commonmarker/cmark-upstream/man/man1/cmark-gfm.1 +0 -78
  255. data/ext/commonmarker/cmark-upstream/man/man3/cmark-gfm.3 +0 -989
  256. data/ext/commonmarker/cmark-upstream/nmake.bat +0 -1
  257. data/ext/commonmarker/cmark-upstream/src/CMakeLists.txt +0 -224
  258. data/ext/commonmarker/cmark-upstream/src/arena.c +0 -103
  259. data/ext/commonmarker/cmark-upstream/src/blocks.c +0 -1519
  260. data/ext/commonmarker/cmark-upstream/src/buffer.c +0 -279
  261. data/ext/commonmarker/cmark-upstream/src/buffer.h +0 -116
  262. data/ext/commonmarker/cmark-upstream/src/case_fold_switch.inc +0 -4327
  263. data/ext/commonmarker/cmark-upstream/src/chunk.h +0 -136
  264. data/ext/commonmarker/cmark-upstream/src/cmark.c +0 -55
  265. data/ext/commonmarker/cmark-upstream/src/cmark.h +0 -789
  266. data/ext/commonmarker/cmark-upstream/src/cmark_ctype.c +0 -44
  267. data/ext/commonmarker/cmark-upstream/src/cmark_ctype.h +0 -33
  268. data/ext/commonmarker/cmark-upstream/src/cmark_extension_api.h +0 -719
  269. data/ext/commonmarker/cmark-upstream/src/cmark_version.h.in +0 -8
  270. data/ext/commonmarker/cmark-upstream/src/commonmark.c +0 -508
  271. data/ext/commonmarker/cmark-upstream/src/config.h.in +0 -76
  272. data/ext/commonmarker/cmark-upstream/src/entities.inc +0 -2138
  273. data/ext/commonmarker/cmark-upstream/src/footnotes.c +0 -40
  274. data/ext/commonmarker/cmark-upstream/src/footnotes.h +0 -25
  275. data/ext/commonmarker/cmark-upstream/src/houdini.h +0 -57
  276. data/ext/commonmarker/cmark-upstream/src/houdini_href_e.c +0 -100
  277. data/ext/commonmarker/cmark-upstream/src/houdini_html_e.c +0 -66
  278. data/ext/commonmarker/cmark-upstream/src/houdini_html_u.c +0 -149
  279. data/ext/commonmarker/cmark-upstream/src/html.c +0 -457
  280. data/ext/commonmarker/cmark-upstream/src/html.h +0 -27
  281. data/ext/commonmarker/cmark-upstream/src/inlines.c +0 -1594
  282. data/ext/commonmarker/cmark-upstream/src/inlines.h +0 -29
  283. data/ext/commonmarker/cmark-upstream/src/iterator.c +0 -159
  284. data/ext/commonmarker/cmark-upstream/src/iterator.h +0 -27
  285. data/ext/commonmarker/cmark-upstream/src/latex.c +0 -466
  286. data/ext/commonmarker/cmark-upstream/src/libcmark-gfm.pc.in +0 -10
  287. data/ext/commonmarker/cmark-upstream/src/linked_list.c +0 -37
  288. data/ext/commonmarker/cmark-upstream/src/main.c +0 -276
  289. data/ext/commonmarker/cmark-upstream/src/man.c +0 -278
  290. data/ext/commonmarker/cmark-upstream/src/map.c +0 -122
  291. data/ext/commonmarker/cmark-upstream/src/map.h +0 -42
  292. data/ext/commonmarker/cmark-upstream/src/node.c +0 -965
  293. data/ext/commonmarker/cmark-upstream/src/node.h +0 -116
  294. data/ext/commonmarker/cmark-upstream/src/parser.h +0 -57
  295. data/ext/commonmarker/cmark-upstream/src/plaintext.c +0 -213
  296. data/ext/commonmarker/cmark-upstream/src/plugin.c +0 -36
  297. data/ext/commonmarker/cmark-upstream/src/plugin.h +0 -34
  298. data/ext/commonmarker/cmark-upstream/src/references.c +0 -42
  299. data/ext/commonmarker/cmark-upstream/src/references.h +0 -26
  300. data/ext/commonmarker/cmark-upstream/src/registry.c +0 -63
  301. data/ext/commonmarker/cmark-upstream/src/registry.h +0 -24
  302. data/ext/commonmarker/cmark-upstream/src/render.c +0 -202
  303. data/ext/commonmarker/cmark-upstream/src/render.h +0 -63
  304. data/ext/commonmarker/cmark-upstream/src/scanners.c +0 -18195
  305. data/ext/commonmarker/cmark-upstream/src/scanners.h +0 -64
  306. data/ext/commonmarker/cmark-upstream/src/scanners.re +0 -341
  307. data/ext/commonmarker/cmark-upstream/src/syntax_extension.c +0 -139
  308. data/ext/commonmarker/cmark-upstream/src/syntax_extension.h +0 -32
  309. data/ext/commonmarker/cmark-upstream/src/utf8.c +0 -317
  310. data/ext/commonmarker/cmark-upstream/src/utf8.h +0 -35
  311. data/ext/commonmarker/cmark-upstream/src/xml.c +0 -174
  312. data/ext/commonmarker/cmark-upstream/suppressions +0 -10
  313. data/ext/commonmarker/cmark-upstream/test/CMakeLists.txt +0 -98
  314. data/ext/commonmarker/cmark-upstream/test/afl_test_cases/test.md +0 -49
  315. data/ext/commonmarker/cmark-upstream/test/cmark-fuzz.c +0 -28
  316. data/ext/commonmarker/cmark-upstream/test/cmark.py +0 -103
  317. data/ext/commonmarker/cmark-upstream/test/entity_tests.py +0 -67
  318. data/ext/commonmarker/cmark-upstream/test/extensions.txt +0 -674
  319. data/ext/commonmarker/cmark-upstream/test/fuzzing_dictionary +0 -49
  320. data/ext/commonmarker/cmark-upstream/test/normalize.py +0 -194
  321. data/ext/commonmarker/cmark-upstream/test/pathological_tests.py +0 -145
  322. data/ext/commonmarker/cmark-upstream/test/regression.txt +0 -128
  323. data/ext/commonmarker/cmark-upstream/test/roundtrip_tests.py +0 -50
  324. data/ext/commonmarker/cmark-upstream/test/run-cmark-fuzz +0 -4
  325. data/ext/commonmarker/cmark-upstream/test/smart_punct.txt +0 -177
  326. data/ext/commonmarker/cmark-upstream/test/spec.txt +0 -9919
  327. data/ext/commonmarker/cmark-upstream/test/spec_tests.py +0 -152
  328. data/ext/commonmarker/cmark-upstream/toolchain-mingw32.cmake +0 -17
  329. data/ext/commonmarker/cmark-upstream/tools/Dockerfile +0 -41
  330. data/ext/commonmarker/cmark-upstream/tools/appveyor-build.bat +0 -13
  331. data/ext/commonmarker/cmark-upstream/tools/make_entities_inc.py +0 -32
  332. data/ext/commonmarker/cmark-upstream/tools/mkcasefold.pl +0 -22
  333. data/ext/commonmarker/cmark-upstream/why-cmark-and-not-x.md +0 -104
  334. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.js +0 -6
  335. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.py +0 -37
  336. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.rb +0 -15
  337. data/ext/commonmarker/cmark-upstream/wrappers/wrapper.rkt +0 -190
@@ -1,539 +0,0 @@
1
- /* This source file must have a .cpp extension so that all C++ compilers
2
- recognize the extension without flags. Borland does not know .cxx for
3
- example. */
4
- #ifndef __cplusplus
5
- # error "A C compiler has been selected for C++."
6
- #endif
7
-
8
-
9
- /* Version number components: V=Version, R=Revision, P=Patch
10
- Version date components: YYYY=Year, MM=Month, DD=Day */
11
-
12
- #if defined(__COMO__)
13
- # define COMPILER_ID "Comeau"
14
- /* __COMO_VERSION__ = VRR */
15
- # define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
16
- # define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
17
-
18
- #elif defined(__INTEL_COMPILER) || defined(__ICC)
19
- # define COMPILER_ID "Intel"
20
- # if defined(_MSC_VER)
21
- # define SIMULATE_ID "MSVC"
22
- # endif
23
- /* __INTEL_COMPILER = VRP */
24
- # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
25
- # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
26
- # if defined(__INTEL_COMPILER_UPDATE)
27
- # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
28
- # else
29
- # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
30
- # endif
31
- # if defined(__INTEL_COMPILER_BUILD_DATE)
32
- /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
33
- # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
34
- # endif
35
- # if defined(_MSC_VER)
36
- /* _MSC_VER = VVRR */
37
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39
- # endif
40
-
41
- #elif defined(__PATHCC__)
42
- # define COMPILER_ID "PathScale"
43
- # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
44
- # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
45
- # if defined(__PATHCC_PATCHLEVEL__)
46
- # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
47
- # endif
48
-
49
- #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
50
- # define COMPILER_ID "Embarcadero"
51
- # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
52
- # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
53
- # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
54
-
55
- #elif defined(__BORLANDC__)
56
- # define COMPILER_ID "Borland"
57
- /* __BORLANDC__ = 0xVRR */
58
- # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
59
- # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
60
-
61
- #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
62
- # define COMPILER_ID "Watcom"
63
- /* __WATCOMC__ = VVRR */
64
- # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
65
- # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
66
- # if (__WATCOMC__ % 10) > 0
67
- # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
68
- # endif
69
-
70
- #elif defined(__WATCOMC__)
71
- # define COMPILER_ID "OpenWatcom"
72
- /* __WATCOMC__ = VVRP + 1100 */
73
- # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
74
- # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
75
- # if (__WATCOMC__ % 10) > 0
76
- # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
77
- # endif
78
-
79
- #elif defined(__SUNPRO_CC)
80
- # define COMPILER_ID "SunPro"
81
- # if __SUNPRO_CC >= 0x5100
82
- /* __SUNPRO_CC = 0xVRRP */
83
- # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
84
- # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
85
- # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
86
- # else
87
- /* __SUNPRO_CC = 0xVRP */
88
- # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
89
- # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
90
- # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
91
- # endif
92
-
93
- #elif defined(__HP_aCC)
94
- # define COMPILER_ID "HP"
95
- /* __HP_aCC = VVRRPP */
96
- # define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
97
- # define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
98
- # define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
99
-
100
- #elif defined(__DECCXX)
101
- # define COMPILER_ID "Compaq"
102
- /* __DECCXX_VER = VVRRTPPPP */
103
- # define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
104
- # define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
105
- # define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
106
-
107
- #elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
108
- # define COMPILER_ID "zOS"
109
- /* __IBMCPP__ = VRP */
110
- # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
111
- # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
112
- # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
113
-
114
- #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
115
- # define COMPILER_ID "XL"
116
- /* __IBMCPP__ = VRP */
117
- # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
118
- # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
119
- # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
120
-
121
- #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
122
- # define COMPILER_ID "VisualAge"
123
- /* __IBMCPP__ = VRP */
124
- # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
125
- # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
126
- # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
127
-
128
- #elif defined(__PGI)
129
- # define COMPILER_ID "PGI"
130
- # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
131
- # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
132
- # if defined(__PGIC_PATCHLEVEL__)
133
- # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
134
- # endif
135
-
136
- #elif defined(_CRAYC)
137
- # define COMPILER_ID "Cray"
138
- # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
139
- # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
140
-
141
- #elif defined(__TI_COMPILER_VERSION__)
142
- # define COMPILER_ID "TI"
143
- /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
144
- # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
145
- # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
146
- # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
147
-
148
- #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149
- # define COMPILER_ID "Fujitsu"
150
-
151
- #elif defined(__SCO_VERSION__)
152
- # define COMPILER_ID "SCO"
153
-
154
- #elif defined(__clang__) && defined(__apple_build_version__)
155
- # define COMPILER_ID "AppleClang"
156
- # if defined(_MSC_VER)
157
- # define SIMULATE_ID "MSVC"
158
- # endif
159
- # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
160
- # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
161
- # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
162
- # if defined(_MSC_VER)
163
- /* _MSC_VER = VVRR */
164
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
165
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
166
- # endif
167
- # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
168
-
169
- #elif defined(__clang__)
170
- # define COMPILER_ID "Clang"
171
- # if defined(_MSC_VER)
172
- # define SIMULATE_ID "MSVC"
173
- # endif
174
- # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
175
- # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
176
- # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
177
- # if defined(_MSC_VER)
178
- /* _MSC_VER = VVRR */
179
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
180
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
181
- # endif
182
-
183
- #elif defined(__GNUC__) || defined(__GNUG__)
184
- # define COMPILER_ID "GNU"
185
- # if defined(__GNUC__)
186
- # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
187
- # else
188
- # define COMPILER_VERSION_MAJOR DEC(__GNUG__)
189
- # endif
190
- # if defined(__GNUC_MINOR__)
191
- # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
192
- # endif
193
- # if defined(__GNUC_PATCHLEVEL__)
194
- # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
195
- # endif
196
-
197
- #elif defined(_MSC_VER)
198
- # define COMPILER_ID "MSVC"
199
- /* _MSC_VER = VVRR */
200
- # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
201
- # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
202
- # if defined(_MSC_FULL_VER)
203
- # if _MSC_VER >= 1400
204
- /* _MSC_FULL_VER = VVRRPPPPP */
205
- # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
206
- # else
207
- /* _MSC_FULL_VER = VVRRPPPP */
208
- # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
209
- # endif
210
- # endif
211
- # if defined(_MSC_BUILD)
212
- # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
213
- # endif
214
-
215
- #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
216
- # define COMPILER_ID "ADSP"
217
- #if defined(__VISUALDSPVERSION__)
218
- /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
219
- # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
220
- # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
221
- # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
222
- #endif
223
-
224
- #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
225
- # define COMPILER_ID "IAR"
226
-
227
- #elif defined(__ARMCC_VERSION)
228
- # define COMPILER_ID "ARMCC"
229
- #if __ARMCC_VERSION >= 1000000
230
- /* __ARMCC_VERSION = VRRPPPP */
231
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
232
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
233
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
234
- #else
235
- /* __ARMCC_VERSION = VRPPPP */
236
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
237
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
238
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
239
- #endif
240
-
241
-
242
- #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
243
- # define COMPILER_ID "MIPSpro"
244
- # if defined(_SGI_COMPILER_VERSION)
245
- /* _SGI_COMPILER_VERSION = VRP */
246
- # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
247
- # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
248
- # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
249
- # else
250
- /* _COMPILER_VERSION = VRP */
251
- # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
252
- # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
253
- # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
254
- # endif
255
-
256
-
257
- /* These compilers are either not known or too old to define an
258
- identification macro. Try to identify the platform and guess that
259
- it is the native compiler. */
260
- #elif defined(__sgi)
261
- # define COMPILER_ID "MIPSpro"
262
-
263
- #elif defined(__hpux) || defined(__hpua)
264
- # define COMPILER_ID "HP"
265
-
266
- #else /* unknown compiler */
267
- # define COMPILER_ID ""
268
- #endif
269
-
270
- /* Construct the string literal in pieces to prevent the source from
271
- getting matched. Store it in a pointer rather than an array
272
- because some compilers will just produce instructions to fill the
273
- array rather than assigning a pointer to a static array. */
274
- char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
275
- #ifdef SIMULATE_ID
276
- char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
277
- #endif
278
-
279
- #ifdef __QNXNTO__
280
- char const* qnxnto = "INFO" ":" "qnxnto[]";
281
- #endif
282
-
283
- #if defined(__CRAYXE) || defined(__CRAYXC)
284
- char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
285
- #endif
286
-
287
- #define STRINGIFY_HELPER(X) #X
288
- #define STRINGIFY(X) STRINGIFY_HELPER(X)
289
-
290
- /* Identify known platforms by name. */
291
- #if defined(__linux) || defined(__linux__) || defined(linux)
292
- # define PLATFORM_ID "Linux"
293
-
294
- #elif defined(__CYGWIN__)
295
- # define PLATFORM_ID "Cygwin"
296
-
297
- #elif defined(__MINGW32__)
298
- # define PLATFORM_ID "MinGW"
299
-
300
- #elif defined(__APPLE__)
301
- # define PLATFORM_ID "Darwin"
302
-
303
- #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
304
- # define PLATFORM_ID "Windows"
305
-
306
- #elif defined(__FreeBSD__) || defined(__FreeBSD)
307
- # define PLATFORM_ID "FreeBSD"
308
-
309
- #elif defined(__NetBSD__) || defined(__NetBSD)
310
- # define PLATFORM_ID "NetBSD"
311
-
312
- #elif defined(__OpenBSD__) || defined(__OPENBSD)
313
- # define PLATFORM_ID "OpenBSD"
314
-
315
- #elif defined(__sun) || defined(sun)
316
- # define PLATFORM_ID "SunOS"
317
-
318
- #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
319
- # define PLATFORM_ID "AIX"
320
-
321
- #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
322
- # define PLATFORM_ID "IRIX"
323
-
324
- #elif defined(__hpux) || defined(__hpux__)
325
- # define PLATFORM_ID "HP-UX"
326
-
327
- #elif defined(__HAIKU__)
328
- # define PLATFORM_ID "Haiku"
329
-
330
- #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
331
- # define PLATFORM_ID "BeOS"
332
-
333
- #elif defined(__QNX__) || defined(__QNXNTO__)
334
- # define PLATFORM_ID "QNX"
335
-
336
- #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
337
- # define PLATFORM_ID "Tru64"
338
-
339
- #elif defined(__riscos) || defined(__riscos__)
340
- # define PLATFORM_ID "RISCos"
341
-
342
- #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
343
- # define PLATFORM_ID "SINIX"
344
-
345
- #elif defined(__UNIX_SV__)
346
- # define PLATFORM_ID "UNIX_SV"
347
-
348
- #elif defined(__bsdos__)
349
- # define PLATFORM_ID "BSDOS"
350
-
351
- #elif defined(_MPRAS) || defined(MPRAS)
352
- # define PLATFORM_ID "MP-RAS"
353
-
354
- #elif defined(__osf) || defined(__osf__)
355
- # define PLATFORM_ID "OSF1"
356
-
357
- #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
358
- # define PLATFORM_ID "SCO_SV"
359
-
360
- #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
361
- # define PLATFORM_ID "ULTRIX"
362
-
363
- #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
364
- # define PLATFORM_ID "Xenix"
365
-
366
- #elif defined(__WATCOMC__)
367
- # if defined(__LINUX__)
368
- # define PLATFORM_ID "Linux"
369
-
370
- # elif defined(__DOS__)
371
- # define PLATFORM_ID "DOS"
372
-
373
- # elif defined(__OS2__)
374
- # define PLATFORM_ID "OS2"
375
-
376
- # elif defined(__WINDOWS__)
377
- # define PLATFORM_ID "Windows3x"
378
-
379
- # else /* unknown platform */
380
- # define PLATFORM_ID
381
- # endif
382
-
383
- #else /* unknown platform */
384
- # define PLATFORM_ID
385
-
386
- #endif
387
-
388
- /* For windows compilers MSVC and Intel we can determine
389
- the architecture of the compiler being used. This is because
390
- the compilers do not have flags that can change the architecture,
391
- but rather depend on which compiler is being used
392
- */
393
- #if defined(_WIN32) && defined(_MSC_VER)
394
- # if defined(_M_IA64)
395
- # define ARCHITECTURE_ID "IA64"
396
-
397
- # elif defined(_M_X64) || defined(_M_AMD64)
398
- # define ARCHITECTURE_ID "x64"
399
-
400
- # elif defined(_M_IX86)
401
- # define ARCHITECTURE_ID "X86"
402
-
403
- # elif defined(_M_ARM)
404
- # if _M_ARM == 4
405
- # define ARCHITECTURE_ID "ARMV4I"
406
- # elif _M_ARM == 5
407
- # define ARCHITECTURE_ID "ARMV5I"
408
- # else
409
- # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
410
- # endif
411
-
412
- # elif defined(_M_MIPS)
413
- # define ARCHITECTURE_ID "MIPS"
414
-
415
- # elif defined(_M_SH)
416
- # define ARCHITECTURE_ID "SHx"
417
-
418
- # else /* unknown architecture */
419
- # define ARCHITECTURE_ID ""
420
- # endif
421
-
422
- #elif defined(__WATCOMC__)
423
- # if defined(_M_I86)
424
- # define ARCHITECTURE_ID "I86"
425
-
426
- # elif defined(_M_IX86)
427
- # define ARCHITECTURE_ID "X86"
428
-
429
- # else /* unknown architecture */
430
- # define ARCHITECTURE_ID ""
431
- # endif
432
-
433
- #else
434
- # define ARCHITECTURE_ID
435
- #endif
436
-
437
- /* Convert integer to decimal digit literals. */
438
- #define DEC(n) \
439
- ('0' + (((n) / 10000000)%10)), \
440
- ('0' + (((n) / 1000000)%10)), \
441
- ('0' + (((n) / 100000)%10)), \
442
- ('0' + (((n) / 10000)%10)), \
443
- ('0' + (((n) / 1000)%10)), \
444
- ('0' + (((n) / 100)%10)), \
445
- ('0' + (((n) / 10)%10)), \
446
- ('0' + ((n) % 10))
447
-
448
- /* Convert integer to hex digit literals. */
449
- #define HEX(n) \
450
- ('0' + ((n)>>28 & 0xF)), \
451
- ('0' + ((n)>>24 & 0xF)), \
452
- ('0' + ((n)>>20 & 0xF)), \
453
- ('0' + ((n)>>16 & 0xF)), \
454
- ('0' + ((n)>>12 & 0xF)), \
455
- ('0' + ((n)>>8 & 0xF)), \
456
- ('0' + ((n)>>4 & 0xF)), \
457
- ('0' + ((n) & 0xF))
458
-
459
- /* Construct a string literal encoding the version number components. */
460
- #ifdef COMPILER_VERSION_MAJOR
461
- char const info_version[] = {
462
- 'I', 'N', 'F', 'O', ':',
463
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
464
- COMPILER_VERSION_MAJOR,
465
- # ifdef COMPILER_VERSION_MINOR
466
- '.', COMPILER_VERSION_MINOR,
467
- # ifdef COMPILER_VERSION_PATCH
468
- '.', COMPILER_VERSION_PATCH,
469
- # ifdef COMPILER_VERSION_TWEAK
470
- '.', COMPILER_VERSION_TWEAK,
471
- # endif
472
- # endif
473
- # endif
474
- ']','\0'};
475
- #endif
476
-
477
- /* Construct a string literal encoding the version number components. */
478
- #ifdef SIMULATE_VERSION_MAJOR
479
- char const info_simulate_version[] = {
480
- 'I', 'N', 'F', 'O', ':',
481
- 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
482
- SIMULATE_VERSION_MAJOR,
483
- # ifdef SIMULATE_VERSION_MINOR
484
- '.', SIMULATE_VERSION_MINOR,
485
- # ifdef SIMULATE_VERSION_PATCH
486
- '.', SIMULATE_VERSION_PATCH,
487
- # ifdef SIMULATE_VERSION_TWEAK
488
- '.', SIMULATE_VERSION_TWEAK,
489
- # endif
490
- # endif
491
- # endif
492
- ']','\0'};
493
- #endif
494
-
495
- /* Construct the string literal in pieces to prevent the source from
496
- getting matched. Store it in a pointer rather than an array
497
- because some compilers will just produce instructions to fill the
498
- array rather than assigning a pointer to a static array. */
499
- char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
500
- char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
501
-
502
-
503
-
504
-
505
- const char* info_language_dialect_default = "INFO" ":" "dialect_default["
506
- #if __cplusplus > 201402L
507
- "17"
508
- #elif __cplusplus >= 201402L
509
- "14"
510
- #elif __cplusplus >= 201103L
511
- "11"
512
- #else
513
- "98"
514
- #endif
515
- "]";
516
-
517
- /*--------------------------------------------------------------------------*/
518
-
519
- int main(int argc, char* argv[])
520
- {
521
- int require = 0;
522
- require += info_compiler[argc];
523
- require += info_platform[argc];
524
- #ifdef COMPILER_VERSION_MAJOR
525
- require += info_version[argc];
526
- #endif
527
- #ifdef SIMULATE_ID
528
- require += info_simulate[argc];
529
- #endif
530
- #ifdef SIMULATE_VERSION_MAJOR
531
- require += info_simulate_version[argc];
532
- #endif
533
- #if defined(__CRAYXE) || defined(__CRAYXC)
534
- require += info_cray[argc];
535
- #endif
536
- require += info_language_dialect_default[argc];
537
- (void)argv;
538
- return require;
539
- }