tecscde 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rubocop.yml +125 -0
  4. data/.rubocop_todo.yml +188 -0
  5. data/CHANGELOG.md +3 -0
  6. data/Gemfile +6 -0
  7. data/LICENSE +46 -0
  8. data/LICENSE.ja +32 -0
  9. data/README.ja.md +200 -0
  10. data/README.md +35 -0
  11. data/Rakefile +27 -0
  12. data/bin/tecscde +64 -0
  13. data/glade/tecscde-cell-property.glade +205 -0
  14. data/glade/tecscde-celltype-property.glade +172 -0
  15. data/glade/tecscde-celltype.glade +414 -0
  16. data/glade/tecscde-export.glade +161 -0
  17. data/glade/test-cell-plugin.rb +51 -0
  18. data/glade/test-cell-property.rb +35 -0
  19. data/glade/test-export.rb +35 -0
  20. data/glade/test-palette.rb +26 -0
  21. data/lib/tcflow.rb +148 -0
  22. data/lib/tecscde.rb +65 -0
  23. data/lib/tecscde/NewCell.png +0 -0
  24. data/lib/tecscde/SelectArrow.png +0 -0
  25. data/lib/tecscde/attr_tree_view.rb +253 -0
  26. data/lib/tecscde/cell_plugin_dialog.glade +294 -0
  27. data/lib/tecscde/cell_plugin_dialog.rb +89 -0
  28. data/lib/tecscde/celltype_tree_view.rb +105 -0
  29. data/lib/tecscde/change_set_control.rb +35 -0
  30. data/lib/tecscde/change_set_control/change_set.rb +32 -0
  31. data/lib/tecscde/change_set_control/change_set_manager.rb +62 -0
  32. data/lib/tecscde/command.rb +35 -0
  33. data/lib/tecscde/control.rb +491 -0
  34. data/lib/tecscde/highlighted_objects.rb +180 -0
  35. data/lib/tecscde/logger.rb +74 -0
  36. data/lib/tecscde/main_view_and_model.rb +80 -0
  37. data/lib/tecscde/palette.glade +553 -0
  38. data/lib/tecscde/palette.rb +174 -0
  39. data/lib/tecscde/preferences.glade +117 -0
  40. data/lib/tecscde/preferences.rb +44 -0
  41. data/lib/tecscde/tecs_model.rb +1137 -0
  42. data/lib/tecscde/tecs_model/hbar.rb +68 -0
  43. data/lib/tecscde/tecs_model/tm_c_port.rb +122 -0
  44. data/lib/tecscde/tecs_model/tm_c_port_array.rb +98 -0
  45. data/lib/tecscde/tecs_model/tm_cell.rb +496 -0
  46. data/lib/tecscde/tecs_model/tm_e_port.rb +126 -0
  47. data/lib/tecscde/tecs_model/tm_e_port_array.rb +78 -0
  48. data/lib/tecscde/tecs_model/tm_join.rb +293 -0
  49. data/lib/tecscde/tecs_model/tm_join_bar.rb +146 -0
  50. data/lib/tecscde/tecs_model/tm_port.rb +238 -0
  51. data/lib/tecscde/tecs_model/tm_port_array.rb +246 -0
  52. data/lib/tecscde/tecs_model/tm_region.rb +107 -0
  53. data/lib/tecscde/tecs_model/tm_uneditable.rb +68 -0
  54. data/lib/tecscde/tecs_model/vbar.rb +68 -0
  55. data/lib/tecscde/templates/_cell_info.cde.erb +15 -0
  56. data/lib/tecscde/templates/_join_info.cde.erb +28 -0
  57. data/lib/tecscde/templates/main.cde.erb +49 -0
  58. data/lib/tecscde/tm_object.rb +91 -0
  59. data/lib/tecscde/version.rb +4 -0
  60. data/lib/tecscde/view.rb +58 -0
  61. data/lib/tecscde/view/cairo_matrix.rb +90 -0
  62. data/lib/tecscde/view/canvas.rb +59 -0
  63. data/lib/tecscde/view/constants.rb +114 -0
  64. data/lib/tecscde/view/main_view.rb +1245 -0
  65. data/lib/tecsflow.rb +475 -0
  66. data/lib/tecsflow/C_parser.tab.rb +2471 -0
  67. data/lib/tecsflow/C_parser.y.rb +1087 -0
  68. data/lib/tecsflow/classes.rb +421 -0
  69. data/lib/tecsgen.rb +581 -0
  70. data/lib/tecsgen/core/C_parser.tab.rb +2477 -0
  71. data/lib/tecsgen/core/C_parser.y +1032 -0
  72. data/lib/tecsgen/core/bnf-deb.tab.rb +5193 -0
  73. data/lib/tecsgen/core/bnf.tab.rb +5193 -0
  74. data/lib/tecsgen/core/bnf.y +2211 -0
  75. data/lib/tecsgen/core/componentobj.rb +7901 -0
  76. data/lib/tecsgen/core/ctypes.rb +226 -0
  77. data/lib/tecsgen/core/expression.rb +1031 -0
  78. data/lib/tecsgen/core/gen_xml.rb +374 -0
  79. data/lib/tecsgen/core/generate.rb +5206 -0
  80. data/lib/tecsgen/core/location.rb +116 -0
  81. data/lib/tecsgen/core/messages.rb +101 -0
  82. data/lib/tecsgen/core/optimize.rb +456 -0
  83. data/lib/tecsgen/core/plugin.rb +332 -0
  84. data/lib/tecsgen/core/pluginModule.rb +165 -0
  85. data/lib/tecsgen/core/syntaxobj.rb +1234 -0
  86. data/lib/tecsgen/core/tecs_lang.rb +306 -0
  87. data/lib/tecsgen/core/tecsgen.rb +453 -0
  88. data/lib/tecsgen/core/tecsinfo.rb +860 -0
  89. data/lib/tecsgen/core/tool_info.rb +258 -0
  90. data/lib/tecsgen/core/types.rb +1632 -0
  91. data/lib/tecsgen/core/unjoin_plugin.rb +218 -0
  92. data/lib/tecsgen/core/value.rb +650 -0
  93. data/lib/tecsgen/messages/messages_console_en_US.rb +1171 -0
  94. data/lib/tecsgen/messages/messages_console_ja_JP.rb +1171 -0
  95. data/lib/tecsgen/messages/messages_file_en_US.rb +334 -0
  96. data/lib/tecsgen/messages/messages_file_ja_JP.rb +163 -0
  97. data/lib/tecsgen/plugin/ATK1AlarmPlugin.rb +196 -0
  98. data/lib/tecsgen/plugin/ATK1DelayTaskPlugin.rb +106 -0
  99. data/lib/tecsgen/plugin/ATK1EventPlugin.rb +147 -0
  100. data/lib/tecsgen/plugin/ATK1ISRPlugin.rb +174 -0
  101. data/lib/tecsgen/plugin/ATK1KernelPlugin.rb +287 -0
  102. data/lib/tecsgen/plugin/ATK1ResourcePlugin.rb +124 -0
  103. data/lib/tecsgen/plugin/ATK1TaskPlugin.rb +220 -0
  104. data/lib/tecsgen/plugin/C2TECSBridgePlugin.rb +210 -0
  105. data/lib/tecsgen/plugin/CellPlugin.rb +61 -0
  106. data/lib/tecsgen/plugin/CelltypePlugin.rb +72 -0
  107. data/lib/tecsgen/plugin/CompositePlugin.rb +66 -0
  108. data/lib/tecsgen/plugin/DomainPlugin.rb +89 -0
  109. data/lib/tecsgen/plugin/HRP2AlarmHandlerPlugin.rb +76 -0
  110. data/lib/tecsgen/plugin/HRP2Cache.rb +1 -0
  111. data/lib/tecsgen/plugin/HRP2CyclicHandlerPlugin.rb +75 -0
  112. data/lib/tecsgen/plugin/HRP2DataqueuePlugin.rb +68 -0
  113. data/lib/tecsgen/plugin/HRP2EventflagPlugin.rb +68 -0
  114. data/lib/tecsgen/plugin/HRP2FixedSizeMemoryPoolPlugin.rb +68 -0
  115. data/lib/tecsgen/plugin/HRP2HandlerPlugin.rb +117 -0
  116. data/lib/tecsgen/plugin/HRP2KernelObjectPlugin.rb +372 -0
  117. data/lib/tecsgen/plugin/HRP2ObjectPlugin.rb +94 -0
  118. data/lib/tecsgen/plugin/HRP2Plugin.rb +140 -0
  119. data/lib/tecsgen/plugin/HRP2PostHook.rb +111 -0
  120. data/lib/tecsgen/plugin/HRP2PriorityDataqueuePlugin.rb +66 -0
  121. data/lib/tecsgen/plugin/HRP2RPCPlugin.rb +319 -0
  122. data/lib/tecsgen/plugin/HRP2SVCPlugin.rb +473 -0
  123. data/lib/tecsgen/plugin/HRP2SemaphorePlugin.rb +67 -0
  124. data/lib/tecsgen/plugin/HRP2TaskPlugin.rb +200 -0
  125. data/lib/tecsgen/plugin/HRPHandlerPlugin.rb +125 -0
  126. data/lib/tecsgen/plugin/HRPKernelObjectManager.rb +72 -0
  127. data/lib/tecsgen/plugin/HRPKernelObjectPlugin.rb +333 -0
  128. data/lib/tecsgen/plugin/HRPObjectPlugin.rb +93 -0
  129. data/lib/tecsgen/plugin/HRPPlugin.rb +356 -0
  130. data/lib/tecsgen/plugin/HRPRPCPlugin.rb +407 -0
  131. data/lib/tecsgen/plugin/HRPSVCPlugin.rb +859 -0
  132. data/lib/tecsgen/plugin/HRPTaskPlugin.rb +107 -0
  133. data/lib/tecsgen/plugin/Mruby2CBridgePlugin.rb +86 -0
  134. data/lib/tecsgen/plugin/MrubyBridgeCellPlugin.rb +264 -0
  135. data/lib/tecsgen/plugin/MrubyBridgeCelltypePlugin.rb +293 -0
  136. data/lib/tecsgen/plugin/MrubyBridgeCompositePlugin.rb +49 -0
  137. data/lib/tecsgen/plugin/MrubyBridgePlugin.rb +67 -0
  138. data/lib/tecsgen/plugin/MrubyBridgeSignaturePlugin.rb +1307 -0
  139. data/lib/tecsgen/plugin/MrubyInfoBridgePlugin.rb +14 -0
  140. data/lib/tecsgen/plugin/MrubyInfoBridgeSignaturePlugin.rb +994 -0
  141. data/lib/tecsgen/plugin/MultiPlugin.rb +57 -0
  142. data/lib/tecsgen/plugin/NotifierPlugin.rb +1217 -0
  143. data/lib/tecsgen/plugin/OpaqueMarshalerPlugin.rb +81 -0
  144. data/lib/tecsgen/plugin/OpaqueRPCPlugin.rb +323 -0
  145. data/lib/tecsgen/plugin/RPCPlugin.rb +266 -0
  146. data/lib/tecsgen/plugin/RepeatCellPlugin.rb +166 -0
  147. data/lib/tecsgen/plugin/RepeatJoinPlugin.rb +130 -0
  148. data/lib/tecsgen/plugin/SharedOpaqueRPCPlugin.rb +357 -0
  149. data/lib/tecsgen/plugin/SharedRPCPlugin.rb +329 -0
  150. data/lib/tecsgen/plugin/SignaturePlugin.rb +77 -0
  151. data/lib/tecsgen/plugin/TECS2CBridgePlugin.rb +178 -0
  152. data/lib/tecsgen/plugin/TECSInfoPlugin.rb +280 -0
  153. data/lib/tecsgen/plugin/ThroughPlugin.rb +333 -0
  154. data/lib/tecsgen/plugin/TracePlugin.rb +484 -0
  155. data/lib/tecsgen/plugin/lib/GenHRP2Marshaler.rb +761 -0
  156. data/lib/tecsgen/plugin/lib/GenOpaqueMarshaler.rb +1107 -0
  157. data/lib/tecsgen/plugin/lib/GenParamCopy.rb +365 -0
  158. data/lib/tecsgen/plugin/lib/GenTransparentMarshaler.rb +683 -0
  159. data/lib/tecsgen/plugin/lib/MrubyBridgeCelltypePluginModule.rb +283 -0
  160. data/lib/tecsgen/plugin/lib/MrubyBridgeSignaturePluginModule.rb +277 -0
  161. data/lib/tecsgen/version.rb +6 -0
  162. data/samples/FigureSamples/active/active.cde +104 -0
  163. data/samples/FigureSamples/active/active.cdl +20 -0
  164. data/samples/FigureSamples/active/active.pdf +0 -0
  165. data/samples/FigureSamples/active/active.png +0 -0
  166. data/samples/FigureSamples/active/gen/tmp_C_src.c +36 -0
  167. data/samples/FigureSamples/active/gen/tmp_cygwin_tecs.h +1908 -0
  168. data/samples/FigureSamples/active/gen/tmp_plugin_post_code.cdl +0 -0
  169. data/samples/FigureSamples/allocator/allocator-internal.png +0 -0
  170. data/samples/FigureSamples/allocator/allocator.cde +171 -0
  171. data/samples/FigureSamples/allocator/allocator.cdl +58 -0
  172. data/samples/FigureSamples/allocator/allocator.png +0 -0
  173. data/samples/FigureSamples/basic/Makefile +87 -0
  174. data/samples/FigureSamples/basic/SimpleSample-trace.cdl +50 -0
  175. data/samples/FigureSamples/basic/SimpleSample.cde +91 -0
  176. data/samples/FigureSamples/basic/SimpleSample.cdl +47 -0
  177. data/samples/FigureSamples/basic/basic.cde +93 -0
  178. data/samples/FigureSamples/basic/basic.cdl +46 -0
  179. data/samples/FigureSamples/basic/basic.png +0 -0
  180. data/samples/FigureSamples/callback/callback.cde +130 -0
  181. data/samples/FigureSamples/callback/callback.cdl +29 -0
  182. data/samples/FigureSamples/callback/callback.png +0 -0
  183. data/samples/FigureSamples/carray/carray.cde +144 -0
  184. data/samples/FigureSamples/carray/carray.cdl +38 -0
  185. data/samples/FigureSamples/carray/carray.png +0 -0
  186. data/samples/FigureSamples/cearray/cearray.cde +314 -0
  187. data/samples/FigureSamples/cearray/cearray.cdl +60 -0
  188. data/samples/FigureSamples/cearray/cearray.png +0 -0
  189. data/samples/FigureSamples/composite/composite-internal.png +0 -0
  190. data/samples/FigureSamples/composite/composite.cde +216 -0
  191. data/samples/FigureSamples/composite/composite.cdl +95 -0
  192. data/samples/FigureSamples/composite/composite.png +0 -0
  193. data/samples/FigureSamples/earray/earray.cde +142 -0
  194. data/samples/FigureSamples/earray/earray.cdl +38 -0
  195. data/samples/FigureSamples/earray/earray.png +0 -0
  196. data/samples/FigureSamples/join/Makefile +87 -0
  197. data/samples/FigureSamples/join/join.cde +132 -0
  198. data/samples/FigureSamples/join/join.cdl +40 -0
  199. data/samples/FigureSamples/join/join.png +0 -0
  200. data/samples/FigureSamples/relay/Makefile +99 -0
  201. data/samples/FigureSamples/relay/relay-internal.png +0 -0
  202. data/samples/FigureSamples/relay/relay.cde +284 -0
  203. data/samples/FigureSamples/relay/relay.cdl +52 -0
  204. data/samples/FigureSamples/relay/relay.png +0 -0
  205. data/samples/FigureSamples/rpc/Makefile +123 -0
  206. data/samples/FigureSamples/rpc/rpc-expand.png +0 -0
  207. data/samples/FigureSamples/rpc/rpc.cde +245 -0
  208. data/samples/FigureSamples/rpc/rpc.png +0 -0
  209. data/samples/FigureSamples/rpc/rpc_sample.cdl +53 -0
  210. data/samples/SimpleSample/Makefile +25 -0
  211. data/samples/SimpleSample/SimpleSample/Makefile +86 -0
  212. data/samples/SimpleSample/SimpleSample/Makefile-trace +91 -0
  213. data/samples/SimpleSample/SimpleSample/README.txt +106 -0
  214. data/samples/SimpleSample/SimpleSample/SimpleSample-trace.cdl +50 -0
  215. data/samples/SimpleSample/SimpleSample/SimpleSample.cdl +45 -0
  216. data/samples/SimpleSample/SimpleSample/src/tSample.c +77 -0
  217. data/samples/SimpleSample/SimpleSample/src/tSimple.c +48 -0
  218. data/samples/SimpleSample/SimpleSample/src/tecs-types.h +27 -0
  219. data/samples/SimpleSample/SimpleSampleOpaqueRPC/Makefile +51 -0
  220. data/samples/SimpleSample/SimpleSampleOpaqueRPC/Makefile-trace +91 -0
  221. data/samples/SimpleSample/SimpleSampleOpaqueRPC/README.txt +106 -0
  222. data/samples/SimpleSample/SimpleSampleOpaqueRPC/SimpleSample-trace.cdl +80 -0
  223. data/samples/SimpleSample/SimpleSampleOpaqueRPC/SimpleSample.cdl +77 -0
  224. data/samples/SimpleSample/SimpleSampleOpaqueRPC/rSample/Makefile +112 -0
  225. data/samples/SimpleSample/SimpleSampleOpaqueRPC/rSimple/Makefile +109 -0
  226. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tSample.c +80 -0
  227. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tSimple.c +47 -0
  228. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tTaskMain.c +66 -0
  229. data/samples/SimpleSample/SimpleSampleOpaqueRPC/src/tecs-types.h +27 -0
  230. data/samples/SimpleSample/SimpleSampleTransparentRPC/Makefile +125 -0
  231. data/samples/SimpleSample/SimpleSampleTransparentRPC/Makefile-trace +130 -0
  232. data/samples/SimpleSample/SimpleSampleTransparentRPC/SimpleSample-trace.cdl +54 -0
  233. data/samples/SimpleSample/SimpleSampleTransparentRPC/SimpleSample.cdl +53 -0
  234. data/samples/SimpleSample/SimpleSampleTransparentRPC/src/tSample.c +80 -0
  235. data/samples/SimpleSample/SimpleSampleTransparentRPC/src/tSimple.c +54 -0
  236. data/tecscde.gemspec +41 -0
  237. metadata +353 -0
@@ -0,0 +1,1171 @@
1
+ #
2
+ # TECS Generator
3
+ # Generator for TOPPERS Embedded Component System
4
+ #
5
+ # Copyright (C) 2008-2017 by TOPPERS Project
6
+ #--
7
+ # 上記著作権者は,以下の(1)〜(4)の条件を満たす場合に限り,本ソフトウェ
8
+ # ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
9
+ # 変・再配布(以下,利用と呼ぶ)することを無償で許諾する.
10
+ # (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
11
+ # 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
12
+ # スコード中に含まれていること.
13
+ # (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
14
+ # 用できる形で再配布する場合には,再配布に伴うドキュメント(利用
15
+ # 者マニュアルなど)に,上記の著作権表示,この利用条件および下記
16
+ # の無保証規定を掲載すること.
17
+ # (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
18
+ # 用できない形で再配布する場合には,次のいずれかの条件を満たすこ
19
+ # と.
20
+ # (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著
21
+ # 作権表示,この利用条件および下記の無保証規定を掲載すること.
22
+ # (b) 再配布の形態を,別に定める方法によって,TOPPERSプロジェクトに
23
+ # 報告すること.
24
+ # (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
25
+ # 害からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
26
+ # また,本ソフトウェアのユーザまたはエンドユーザからのいかなる理
27
+ # 由に基づく請求からも,上記著作権者およびTOPPERSプロジェクトを
28
+ # 免責すること.
29
+ #
30
+ # 本ソフトウェアは,無保証で提供されているものである.上記著作権者お
31
+ # よびTOPPERSプロジェクトは,本ソフトウェアに関して,特定の使用目的
32
+ # に対する適合性も含めて,いかなる保証も行わない.また,本ソフトウェ
33
+ # アの利用により直接的または間接的に生じたいかなる損害に関しても,そ
34
+ # の責任を負わない.
35
+ #
36
+ # $Id: messages_console_en_US.rb 2633 2017-04-02 06:02:05Z okuma-top $
37
+ #++
38
+
39
+
40
+ # Console Messages for en_US
41
+ class TECSMsg
42
+ ###
43
+ # エラーメッセージ
44
+ @@error_message = {}
45
+
46
+ ### C_parser.y.rb
47
+ # B1001 need parameter name"
48
+ @@error_message[:B1001] = "need parameter name"
49
+
50
+ # B1002 while open or reading \'$1\'"
51
+ @@error_message[:B1002] = "while open or reading \'$1\'"
52
+
53
+ # B1003 Unexpected EOF"
54
+ @@error_message[:B1003] = "Unexpected EOF"
55
+
56
+ # B1004 syntax error near \'$1\'"
57
+ @@error_message[:B1004] = "syntax error near \'$1\'"
58
+
59
+ ### ctypes.rb
60
+ # C1001 $1: mismatch, suitable for integer types"
61
+ @@error_message[:C1001] = "$1: mismatch, suitable for integer types"
62
+
63
+ # C1002 $1 not compatible with previous one $2"
64
+ @@error_message[:C1002] = "$1 not compatible with previous one $2"
65
+
66
+ # C1003 $1 & $2 incompatible (\'long double\' not support)"
67
+ @@error_message[:C1003] = "$1 & $2 incompatible (\'long double\' not support)"
68
+
69
+ # C1004 $1: qualifier respecified. previous one: $2"
70
+ @@error_message[:C1004] = "$1: qualifier respecified. previous one: $2"
71
+
72
+ ### expression.rb
73
+ # E1001 $1: not found"
74
+ @@error_message[:E1001] = "$1: not found"
75
+
76
+ # E1002 $1: not constant (port)"
77
+ @@error_message[:E1002] = "$1: not constant (port)"
78
+
79
+ # E1003 $1: not constant"
80
+ @@error_message[:E1003] = "$1: not constant"
81
+
82
+ # E1004 cannot evaluate \'[]\' operator"
83
+ @@error_message[:E1004] = "cannot evaluate \'[]\' operator"
84
+
85
+ # E1005 cannot evaluate \'.\' operator"
86
+ @@error_message[:E1005] = "cannot evaluate \'.\' operator"
87
+
88
+ # E1006 cannot evaluate \'->\' operator"
89
+ @@error_message[:E1006] = "cannot evaluate \'->\' operator"
90
+
91
+ # E1007 cannot evaluate \'sizeof\' operator"
92
+ @@error_message[:E1007] = "cannot evaluate \'sizeof\' operator"
93
+
94
+ # E1008 cannot evaluate \'sizeof\' operator"
95
+ @@error_message[:E1008] = "cannot evaluate \'sizeof\' operator"
96
+
97
+ # E1009 cannot evaluate \'&\' operator"
98
+ @@error_message[:E1009] = "cannot evaluate \'&\' operator"
99
+
100
+ # E1010 cannot evaluate \'*\' operator"
101
+ @@error_message[:E1010] = "cannot evaluate \'*\' operator"
102
+
103
+ # E1011 cannot evaluate unary + for $1"
104
+ @@error_message[:E1011] = "cannot evaluate unary + for $1"
105
+
106
+ # E1012 $1: not found in parameter list"
107
+ @@error_message[:E1012] = "$1: not found in parameter list"
108
+
109
+ # E1013 \'*\': operand is not pointer value"
110
+ @@error_message[:E1013] = "\'*\': operand is not pointer value"
111
+
112
+ # E1014 $1: elements_get_type: sorry not supported"
113
+ @@error_message[:E1014] = "$1: elements_get_type: sorry not supported"
114
+
115
+ # E1015 \'$1\': direction mismatch for $2, $3 required"
116
+ @@error_message[:E1015] = "\'$1\': direction mismatch for $2, $3 required"
117
+
118
+ # E1016 $1: elements_check_dir_for_param: sorry not supported"
119
+ @@error_message[:E1016] = "$1: elements_check_dir_for_param: sorry not supported"
120
+
121
+ # E1017 $1: rhs not \'Cell.ePort\' form"
122
+ @@error_message[:E1017] = "$1: rhs not \'Cell.ePort\' form"
123
+
124
+ # E1018 $1: namespace cannot be specified"
125
+ @@error_message[:E1018] = "$1: namespace cannot be specified"
126
+
127
+ # E1019 $1: rhs not in 'allocator_entry_port' form"
128
+ @@error_message[:E1019] = "$1: rhs not in 'allocator_entry_port' form"
129
+
130
+ # E1020 rhs not in 'call_port.func.param' form for $1_$2"
131
+ @@error_message[:E1020] = "rhs not in 'call_port.func.param' form for $1_$2"
132
+
133
+ ### bnf.y.rb
134
+ # G1001 need specifier for \'$1\'"
135
+ @@error_message[:G1001] = "need specifier for \'$1\'"
136
+
137
+ # G1002 need parameter name"
138
+ @@error_message[:G1002] = "need parameter name"
139
+
140
+ # G1003 need parameter name"
141
+ @@error_message[:G1003] = "need parameter name"
142
+
143
+ # G1004 impossible array type 0"
144
+ @@error_message[:G1004] = "impossible array type 0"
145
+
146
+ # G1005 impossible array type 1"
147
+ @@error_message[:G1005] = "impossible array type 1"
148
+
149
+ # G1006 impossible array type 2"
150
+ @@error_message[:G1006] = "impossible array type 2"
151
+
152
+ # G1007 impossible array type 3"
153
+ @@error_message[:G1007] = "impossible array type 3"
154
+
155
+ # G1008 impossible function type"
156
+ @@error_message[:G1008] = "impossible function type"
157
+
158
+ # G1009 unexpected specifier"
159
+ @@error_message[:G1009] = "unexpected specifier"
160
+
161
+ # G1010 Not function"
162
+ @@error_message[:G1010] = "Not function"
163
+
164
+ # G1011 Not function"
165
+ @@error_message[:G1011] = "Not function"
166
+
167
+ # G1012 $1 : cannot put specifier here"
168
+ @@error_message[:G1012] = "$1 : cannot put specifier here"
169
+
170
+ # G1013 unexpected specifier"
171
+ @@error_message[:G1013] = "unexpected specifier"
172
+
173
+ # G1014 while open or reading \'$1\'"
174
+ @@error_message[:G1014] = "while open or reading \'$1\'"
175
+
176
+ # G1015 Unexpected EOF"
177
+ @@error_message[:G1015] = "Unexpected EOF"
178
+
179
+ # G1016 syntax error near \'$1\'"
180
+ @@error_message[:G1016] = "syntax error near \'$1\'"
181
+
182
+ ### plugin.rb
183
+ # P1001 plugin arg: cannot find identifier in $1"
184
+ @@error_message[:P1001] = "plugin arg: cannot find identifier in $1"
185
+
186
+ # P1002 plugin arg: expecting \'=\' not \'$1\'"
187
+ @@error_message[:P1002] = "plugin arg: expecting \'=\' not \'$1\'"
188
+
189
+ # P1003 plugin arg: unexpected $1"
190
+ @@error_message[:P1003] = "plugin arg: unexpected $1"
191
+
192
+ # P1004 $1: unknown plugin argument\'s identifier\n $2 are acceptable for RPCPlugin."
193
+ @@error_message[:P1004] = "$1: unknown plugin argument\'s identifier\n $2 are acceptable for RPCPlugin."
194
+
195
+ ### pluginModule.rb
196
+ # P2001 $1.rb : fail to load plugin"
197
+ @@error_message[:P2001] = "$1.rb : fail to load plugin"
198
+
199
+ # P2002 $1: not kind of $2"
200
+ @@error_message[:P2002] = "$1: not kind of $2"
201
+
202
+ # P2003 $1: load failed"
203
+ @@error_message[:P2003] = "$1: load failed"
204
+
205
+ # P2004 $1: open error \'$2\'"
206
+ @@error_message[:P2004] = "$1: open error \'$2\'"
207
+
208
+ # P2005 $1: plugin error in gen_through_cell_code "
209
+ @@error_message[:P2005] = "$1: plugin error in gen_through_cell_code "
210
+
211
+ # P2006 $1: close error \'$2\'"
212
+ @@error_message[:P2006] = "$1: close error \'$2\'"
213
+
214
+ # P2007 $1: fail to generate post code"
215
+ @@error_message[:P2007] = "$1: fail to generate post code"
216
+
217
+ ### componentobj.rb
218
+ # S1001 context specifier duplicate"
219
+ @@error_message[:S1001] = "context specifier duplicate"
220
+
221
+ # S1002 \'$1\': unknown specifier for signature"
222
+ @@error_message[:S1002] = "\'$1\': unknown specifier for signature"
223
+
224
+ # S1003 $1: \'alloc\' 1st parameter neither [in] integer type nor [out] double pointer type
225
+ @@error_message[:S1003] = "$1: \'alloc\' 1st parameter neither [in] integer type nor [out] double pointer type"
226
+
227
+ # S1004 $1: \'alloc\' 2nd parameter not [in] double pointer"
228
+ @@error_message[:S1004] = "$1: \'alloc\' 2nd parameter not [in] double pointer"
229
+
230
+ # S1005 $1: \'alloc\' has no parameter, unsuitable for allocator signature"
231
+ @@error_message[:S1005] = "$1: \'alloc\' has no parameter, unsuitable for allocator signature"
232
+
233
+ # S1006 $1: \'dealloc\' 1st parameter not [in] pointer type"
234
+ @@error_message[:S1006] = "$1: \'dealloc\' 1st parameter not [in] pointer type"
235
+
236
+ # S1007 "
237
+ # S1007 $1: \'dealloc\' cannot has 2nd parameter"
238
+ # @@error_message[ :"S1007" ] = "$1: \'dealloc\' cannot has 2nd parameter"
239
+
240
+ # S1008 $1: \'dealloc\' has no parameter, unsuitable for allocator signature"
241
+ @@error_message[:S1008] = "$1: \'dealloc\' has no parameter, unsuitable for allocator signature"
242
+
243
+ # S1009 $1: \'alloc\' function not found, unsuitable for allocator signature"
244
+ @@error_message[:S1009] = "$1: \'alloc\' function not found, unsuitable for allocator signature"
245
+
246
+ # S1010 $1: \'dealloc\' function not found, unsuitable for allocator signature"
247
+ @@error_message[:S1010] = "$1: \'dealloc\' function not found, unsuitable for allocator signature"
248
+
249
+ # S1011 $1: size_is specified for non-pointer type"
250
+ @@error_message[:S1011] = "$1: size_is specified for non-pointer type"
251
+
252
+ # S1012 $1: unsuitable initializer, need array initializer"
253
+ @@error_message[:S1012] = "$1: unsuitable initializer, need array initializer"
254
+
255
+ # S1013 $1: too many initializer, $2 for $3"
256
+ @@error_message[:S1013] = "$1: too many initializer, $2 for $3"
257
+
258
+ # S1014 generate specifier duplicate"
259
+ @@error_message[:S1014] = "generate specifier duplicate"
260
+
261
+ # S1015 $1 cannot be specified for composite"
262
+ @@error_message[:S1015] = "$1 cannot be specified for composite"
263
+
264
+ # S1016 $1 not found"
265
+ @@error_message[:S1016] = "$1 not found"
266
+
267
+ # S1017 $1 : neither celltype nor cell"
268
+ @@error_message[:S1017] = "$1 : neither celltype nor cell"
269
+
270
+ # S1018 $1 : not singleton cell"
271
+ @@error_message[:S1018] = "$1 : not singleton cell"
272
+
273
+ # S1019 \'$1\' : not entry port"
274
+ @@error_message[:S1019] = "\'$1\' : not entry port"
275
+
276
+ # S1020 \'$1\' : required port cannot be array"
277
+ @@error_message[:S1020] = "\'$1\' : required port cannot be array"
278
+
279
+ # S1021 $1 : require cannot have same signature with \'$2\'"
280
+ @@error_message[:S1021] = "$1 : require cannot have same signature with \'$2\'"
281
+
282
+ # S1022 $1.$2 : \'$3\' conflict function name in $4.$5"
283
+ @@error_message[:S1022] = "$1.$2 : \'$3\' conflict function name in $4.$5"
284
+
285
+ # S1023 $1: fail to new"
286
+ @@error_message[:S1023] = "$1: fail to new"
287
+
288
+ # S1024 $1: multiple cell for singleton celltype"
289
+ @@error_message[:S1024] = "$1: multiple cell for singleton celltype"
290
+
291
+ # S1025 not found reachable cell for require \'$1\' in celltype \'$2\'"
292
+ @@error_message[:S1025] = "not found reachable cell for require \'$1\' in celltype \'$2\'"
293
+
294
+ # S1026 required cell \'$1\' not reachable"
295
+ @@error_message[:S1026] = "required cell \'$1\' not reachable"
296
+
297
+ # S1027 \'$1\' celltype not found"
298
+ @@error_message[:S1027] = "\'$1\' celltype not found"
299
+
300
+ # S1028 \'$1\' not celltype"
301
+ @@error_message[:S1028] = "\'$1\' not celltype"
302
+
303
+ # S1029 $1 mismatch with previous one"
304
+ @@error_message[:S1029] = "$1 mismatch with previous one"
305
+
306
+ # S1030 $1: celltype mismatch with previous one"
307
+ @@error_message[:S1030] = "$1: celltype mismatch with previous one"
308
+
309
+ # S1031 $1 region \'$2\' mismatch with previous one \'$3\'"
310
+ @@error_message[:S1031] = "$1 region \'$2\' mismatch with previous one \'$3\'"
311
+
312
+ # S1032 $1: duplicate cell"
313
+ @@error_message[:S1032] = "$1: duplicate cell"
314
+
315
+ # S1033 rhs expression is not supported. Only attribute is permitted on current version."
316
+ @@error_message[:S1033] = "rhs expression is not supported. Only attribute is permitted on current version."
317
+
318
+ # S1034 $1 : cannot refer to $2\'s attribute here. Use \'composite.$3\' to refer to composite celltype\'s"
319
+ @@error_message[:S1034] = "$1 : cannot refer to $2\'s attribute here. Use \'composite.$3\' to refer to composite celltype\'s"
320
+
321
+ # S1035 composite : cannot specify out of composite celltype definition"
322
+ @@error_message[:S1035] = "composite : cannot specify out of composite celltype definition"
323
+
324
+ # S1036 $1 : cannot refer to $2\'s here. Use \'composite.$3\' to refer to composite celltype\'s"
325
+ @@error_message[:S1036] = "$1 : cannot refer to $2\'s here. Use \'composite.$3\' to refer to composite celltype\'s"
326
+
327
+ # S1037 $1: celltype plugin fail to new_cell"
328
+ @@error_message[:S1037] = "$1: celltype plugin fail to new_cell"
329
+
330
+ # S1038 $1.$2: self allocator not supported for array entry port"
331
+ @@error_message[:S1038] = "$1.$2: self allocator not supported for array entry port"
332
+
333
+ # S1039 \'$1\': unknown specifier for cell"
334
+ @@error_message[:S1039] = "\'$1\': unknown specifier for cell"
335
+
336
+ # S1040 array not supported for relay allocator"
337
+ @@error_message[:S1040] = "array not supported for relay allocator"
338
+
339
+ # S1041 \'$1_$2_$3\': not joined. cannot create internal join for relay allocator"
340
+ @@error_message[:S1041] = "\'$1_$2_$3\': not joined. cannot create internal join for relay allocator"
341
+
342
+ # S1042 call port \'$1\' not initialized in cell \'$2\'"
343
+ @@error_message[:S1042] = "call port \'$1\' not initialized in cell \'$2\'"
344
+
345
+ # S1043 call port \'$1\' not initialized in cell \'$2\'. this call port is created by tecsgen. check allocator specifier"
346
+ @@error_message[:S1043] = "call port \'$1\' not initialized in cell \'$2\'. this call port is created by tecsgen. check allocator specifier"
347
+
348
+ # S1044 $1: array initializer too many or few, $2 for $3"
349
+ @@error_message[:S1044] = "$1: array initializer too many or few, $2 for $3"
350
+
351
+ # S1045 $1[$2]: not initialized"
352
+ @@error_message[:S1045] = "$1[$2]: not initialized"
353
+
354
+ # S1046 $1[$2]: not initialized"
355
+ @@error_message[:S1046] = "$1[$2]: not initialized"
356
+
357
+ # S1047 size_is pointer cannot be exposed for composite attribute"
358
+ @@error_message[:S1047] = "size_is pointer cannot be exposed for composite attribute"
359
+
360
+ # S1048 $1: size_is specified for non-pointer type"
361
+ @@error_message[:S1048] = "$1: size_is specified for non-pointer type"
362
+
363
+ # S1049 $1: size_is arg not constant"
364
+ @@error_message[:S1049] = "$1: size_is arg not constant"
365
+
366
+ # S1050 unsuitable initializer, need array initializer"
367
+ @@error_message[:S1050] = "unsuitable initializer, need array initializer"
368
+
369
+ # S1051 too many initializer for array, $1 for $2"
370
+ @@error_message[:S1051] = "too many initializer for array, $1 for $2"
371
+
372
+ # S1052 attribute \'$1\' not initialized in cell \'$2\'"
373
+ @@error_message[:S1052] = "attribute \'$1\' not initialized in cell \'$2\'"
374
+
375
+ # S1053 $1 must be singleton. inner cell \'$2\' is singleton"
376
+ @@error_message[:S1053] = "$1 must be singleton. inner cell \'$2\' is singleton"
377
+
378
+ # S1054 $1 : specified active but has no active in this celltype"
379
+ @@error_message[:S1054] = "$1 : specified active but has no active in this celltype"
380
+
381
+ # S1055 $1 must be active. inner cell \'$2\' is active"
382
+ @@error_message[:S1055] = "$1 must be active. inner cell \'$2\' is active"
383
+
384
+ # S1056 $1 : cannot export, nothing designated"
385
+ @@error_message[:S1056] = "$1 : cannot export, nothing designated"
386
+
387
+ # S1057 $1 not found in $2"
388
+ @@error_message[:S1057] = "$1 not found in $2"
389
+
390
+ # S1058 \'$1\' : cannot export var"
391
+ @@error_message[:S1058] = "\'$1\' : cannot export var"
392
+
393
+ # S1059 \'$1\' : exporting attribute. write in cell or use \'=\' to export attribute"
394
+ @@error_message[:S1059] = "\'$1\' : exporting attribute. write in cell or use \'=\' to export attribute"
395
+
396
+ # S1060 \'$1\' : port type mismatch. $2 type is allowed here."
397
+ @@error_message[:S1060] = "\'$1\' : port type mismatch. $2 type is allowed here."
398
+
399
+ # S1061 \'$1\' : not defined"
400
+ @@error_message[:S1061] = "\'$1\' : not defined"
401
+
402
+ # S1062 $1 has no export definition"
403
+ @@error_message[:S1062] = "$1 has no export definition"
404
+
405
+ # S1063 $1 is port but previously defined as an attribute"
406
+ @@error_message[:S1063] = "$1 is port but previously defined as an attribute"
407
+
408
+ # S1064 $1 : type \'$2$3\' mismatch with pprevious definition\'$4$5\'"
409
+ @@error_message[:S1064] = "$1 : type \'$2$3\' mismatch with pprevious definition\'$4$5\'"
410
+
411
+ # S1065 $1 : port type $2 mismatch with previous definition $3"
412
+ @@error_message[:S1065] = "$1 : port type $2 mismatch with previous definition $3"
413
+
414
+ # S1066 $1 : signature \'$2\' mismatch with previous definition \'$3\'"
415
+ @@error_message[:S1066] = "$1 : signature \'$2\' mismatch with previous definition \'$3\'"
416
+
417
+ # S1067 $1 : array size mismatch with previous definition"
418
+ @@error_message[:S1067] = "$1 : array size mismatch with previous definition"
419
+
420
+ # S1068 $1 : optional specifier mismatch with previous definition"
421
+ @@error_message[:S1068] = "$1 : optional specifier mismatch with previous definition"
422
+
423
+ # S1069 $1 is an attribute but previously defined as a port"
424
+ @@error_message[:S1069] = "$1 is an attribute but previously defined as a port"
425
+
426
+ # S1070 $1: size_is pointer cannot be exposed for composite attribute"
427
+ @@error_message[:S1070] = "$1: size_is pointer cannot be exposed for composite attribute"
428
+
429
+ # S1071 $1 cannot be specified for composite"
430
+ @@error_message[:S1071] = "$1 cannot be specified for composite"
431
+
432
+ # S1072 $1: entry port: sizeless array not supported in current version"
433
+ @@error_message[:S1072] = "$1: entry port: sizeless array not supported in current version"
434
+
435
+ # S1073 Not constant expression $1"
436
+ @@error_message[:S1073] = "Not constant expression $1"
437
+
438
+ # S1074 Not Integer $1"
439
+ @@error_message[:S1074] = "Not Integer $1"
440
+
441
+ # S1075 \'$1\' signature not found"
442
+ @@error_message[:S1075] = "\'$1\' signature not found"
443
+
444
+ # S1076 \'$1\' not signature"
445
+ @@error_message[:S1076] = "\'$1\' not signature"
446
+
447
+ # S1077 inline: cannot be specified for call port"
448
+ @@error_message[:S1077] = "inline: cannot be specified for call port"
449
+
450
+ # S1078 optional: cannot be specified for entry port"
451
+ @@error_message[:S1078] = "optional: cannot be specified for entry port"
452
+
453
+ # S1079 allocator: cannot be specified for call port"
454
+ @@error_message[:S1079] = "allocator: cannot be specified for call port"
455
+
456
+ # S1080 duplicate allocator specifier"
457
+ @@error_message[:S1080] = "duplicate allocator specifier"
458
+
459
+ # S1081 self allocator not supported yet"
460
+ @@error_message[:S1081] = "self allocator not supported yet"
461
+
462
+ # S1082 function \'$1\' not found in signature"
463
+ @@error_message[:S1082] = "function \'$1\' not found in signature"
464
+
465
+ # S1083 \'$1\' not found in function \'$2\'"
466
+ @@error_message[:S1083] = "\'$1\' not found in function \'$2\'"
467
+
468
+ # S1084 \'$1\' in function \'$2\' is not send or receive"
469
+ @@error_message[:S1084] = "\'$1\' in function \'$2\' is not send or receive"
470
+
471
+ # S1085 duplicate allocator specifier for \'$1_$2\'"
472
+ @@error_message[:S1085] = "duplicate allocator specifier for \'$1_$2\'"
473
+
474
+ # S1086 rhs not call_port.func.param for $1_$2"
475
+ @@error_message[:S1086] = "rhs not call_port.func.param for $1_$2"
476
+
477
+ # S1087 function \'$1\' not found in signature \'$2\'"
478
+ @@error_message[:S1087] = "function \'$1\' not found in signature \'$2\'"
479
+
480
+ # S1088 \'$1\' not found in function \'$2\'"
481
+ @@error_message[:S1088] = "\'$1\' not found in function \'$2\'"
482
+
483
+ # S1089 relay allocator send/receive mismatch between $1.$2 and $3_$4.$5"
484
+ @@error_message[:S1089] = "relay allocator send/receive mismatch between $1.$2 and $3_$4.$5"
485
+
486
+ # S1090 \'$1\' in function \'$2\' is not send or receive"
487
+ @@error_message[:S1090] = "\'$1\' in function \'$2\' is not send or receive"
488
+
489
+ # S1091 call port \'$1\' not found in celltype $2"
490
+ @@error_message[:S1091] = "call port \'$1\' not found in celltype $2"
491
+
492
+ # S1092 \'$1\' not namespace"
493
+ @@error_message[:S1092] = "\'$1\' not namespace"
494
+
495
+ # S1093 $1 : undefined cell"
496
+ @@error_message[:S1093] = "$1 : undefined cell"
497
+
498
+ # S1094 $1: pointer is not constant. check \'const\'"
499
+ @@error_message[:S1094] = "$1: pointer is not constant. check \'const\'"
500
+
501
+ # S1095 $1: not constant"
502
+ @@error_message[:S1095] = "$1: not constant"
503
+
504
+ # S1096 $1: should be int, float, bool or pointer type"
505
+ @@error_message[:S1096] = "$1: should be int, float, bool or pointer type"
506
+
507
+ # S1097 $1: has no initializer"
508
+ @@error_message[:S1097] = "$1: has no initializer"
509
+
510
+ # S1098 $1: has unsuitable initializer"
511
+ @@error_message[:S1098] = "$1: has unsuitable initializer"
512
+
513
+ # S1099 array subscript not constant"
514
+ @@error_message[:S1099] = "array subscript not constant"
515
+
516
+ # S1100 $1: cannot initialize var"
517
+ @@error_message[:S1100] = "$1: cannot initialize var"
518
+
519
+ # S1101 \'$1\' cannot initialize entry port"
520
+ @@error_message[:S1101] = "\'$1\' cannot initialize entry port"
521
+
522
+ # S1102 $1: must specify array subscript here"
523
+ @@error_message[:S1102] = "$1: must specify array subscript here"
524
+
525
+ # S1103 $1: need array subscript"
526
+ @@error_message[:S1103] = "$1: need array subscript"
527
+
528
+ # S1104 $1: need array subscript number. ex. \'[0]\'"
529
+ @@error_message[:S1104] = "$1: need array subscript number. ex. \'[0]\'"
530
+
531
+ # S1105 $1: cannot specify array subscript here"
532
+ @@error_message[:S1105] = "$1: cannot specify array subscript here"
533
+
534
+ # S1106 $1: cannot specify array subscript number. use \'[]\'"
535
+ @@error_message[:S1106] = "$1: cannot specify array subscript number. use \'[]\'"
536
+
537
+ # S1107 to export port, use \'cCall => composite.cCall\'"
538
+ @@error_message[:S1107] = "to export port, use \'cCall => composite.cCall\'"
539
+
540
+ # S1108 $1: rhs not \'Cell.ePort\' form"
541
+ @@error_message[:S1108] = "$1: rhs not \'Cell.ePort\' form"
542
+
543
+ # S1109 \'$1\' not found"
544
+ @@error_message[:S1109] = "\'$1\' not found"
545
+
546
+ # S1110 \'$1\' not cell"
547
+ @@error_message[:S1110] = "\'$1\' not cell"
548
+
549
+ # S1111 \'$1\' not found"
550
+ @@error_message[:S1111] = "\'$1\' not found"
551
+
552
+ # S1112 \'$1\' not entry port"
553
+ @@error_message[:S1112] = "\'$1\' not entry port"
554
+
555
+ # S1113 \'$1\' signature mismatch"
556
+ @@error_message[:S1113] = "\'$1\' signature mismatch"
557
+
558
+ # S1114 \'$1\' should be array"
559
+ @@error_message[:S1114] = "\'$1\' should be array"
560
+
561
+ # S1115 $1[$2]: subscript out of range (< $3)"
562
+ @@error_message[:S1115] = "$1[$2]: subscript out of range (< $3)"
563
+
564
+ # S1116 \'$1\' entry port is not array"
565
+ @@error_message[:S1116] = "\'$1\' entry port is not array"
566
+
567
+ # S1117 \'$1\' not in celltype"
568
+ @@error_message[:S1117] = "\'$1\' not in celltype"
569
+
570
+ # S1118 $1: going out from region \'$2\' not permitted"
571
+ @@error_message[:S1118] = "$1: going out from region \'$2\' not permitted"
572
+
573
+ # S1119 $1: going from region \'$2\' to \'$3\' not permitted"
574
+ @@error_message[:S1119] = "$1: going from region \'$2\' to \'$3\' not permitted"
575
+
576
+ # S1120 $1: going in to region \'$2\' not permitted"
577
+ @@error_message[:S1120] = "$1: going in to region \'$2\' not permitted"
578
+
579
+ # S1121 \'$1\' in region \'$2\' cannot be directly joined $3 in $4"
580
+ @@error_message[:S1121] = "\'$1\' in region \'$2\' cannot be directly joined $3 in $4"
581
+
582
+ # S1122 $1 : not port: \'through\' can be specified only for port"
583
+ @@error_message[:S1122] = "$1 : not port: \'through\' can be specified only for port"
584
+
585
+ # S1123 $1 : not port: \'through\' can be specified only for port"
586
+ @@error_message[:S1123] = "$1 : not port: \'through\' can be specified only for port"
587
+
588
+ # S1124 $1: plugin function failed: \'get_through_entry_port_name\'"
589
+ @@error_message[:S1124] = "$1: plugin function failed: \'get_through_entry_port_name\'"
590
+
591
+ # S1125 $1: not generated cell \'$2\'"
592
+ @@error_message[:S1125] = "$1: not generated cell \'$2\'"
593
+
594
+ # S1126 $1: fail to new"
595
+ @@error_message[:S1126] = "$1: fail to new"
596
+
597
+ # S1127 \'$1\' duplicate"
598
+ @@error_message[:S1127] = "\'$1\' duplicate"
599
+
600
+ # S1128 \'$1\' inconsistent array definition"
601
+ @@error_message[:S1128] = "\'$1\' inconsistent array definition"
602
+
603
+ # S1129 \'$1\' redefinition of subscript $1"
604
+ @@error_message[:S1129] = "\'$1\' redefinition of subscript $1"
605
+
606
+ # S1130 \'$1\' inconsistent array definition"
607
+ @@error_message[:S1130] = "\'$1\' inconsistent array definition"
608
+
609
+ # S1131 \'$1.$2\' has duplicate initializer"
610
+ @@error_message[:S1131] = "\'$1.$2\' has duplicate initializer"
611
+
612
+ # S1132 $1: 1st parameter is not string(file name)"
613
+ @@error_message[:S1132] = "$1: 1st parameter is not string(file name)"
614
+
615
+ # S1133 $1: 2nd parameter is not string(fromat)"
616
+ @@error_message[:S1133] = "$1: 2nd parameter is not string(fromat)"
617
+
618
+ # S1134 $1: unknown factory function"
619
+ @@error_message[:S1134] = "$1: unknown factory function"
620
+
621
+ # S1135 celltype factory can\'t have parameter(s)"
622
+ @@error_message[:S1135] = "celltype factory can\'t have parameter(s)"
623
+
624
+ # S1136 \'$1\': not found"
625
+ @@error_message[:S1136] = "\'$1\': not found"
626
+
627
+ # S1137 \'$1\': not attribute"
628
+ @@error_message[:S1137] = "\'$1\': not attribute"
629
+
630
+ # S1138 internal error Factory.check_arg()"
631
+ @@error_message[:S1138] = "internal error Factory.check_arg()"
632
+
633
+ # S1139 $1: region path mismatch. previous path: $2"
634
+ @@error_message[:S1139] = "$1: region path mismatch. previous path: $2"
635
+
636
+ # S1140 $1: region specifier must place at first appearence"
637
+ @@error_message[:S1140] = "$1: region specifier must place at first appearence"
638
+
639
+ # S1141 $1 duplication, previous one : $2"
640
+ @@error_message[:S1141] = "$1 duplication, previous one : $2"
641
+
642
+ # S1142 $1 not found in search path"
643
+ @@error_message[:S1142] = "$1 not found in search path"
644
+
645
+ # S1143 import_C: arg2: mismatch with previous one"
646
+ @@error_message[:S1143] = "import_C: arg2: mismatch with previous one"
647
+
648
+ # S1144 $1: temporary C source: open error"
649
+ @@error_message[:S1144] = "$1: temporary C source: open error"
650
+
651
+ # S1145 $1: temporary C source: writing error"
652
+ @@error_message[:S1145] = "$1: temporary C source: writing error"
653
+
654
+ # S1146 $1: error occured while CPP"
655
+ @@error_message[:S1146] = "$1: error occured while CPP"
656
+
657
+ # S1147 $1: popen for CPP failed"
658
+ @@error_message[:S1147] = "$1: popen for CPP failed"
659
+
660
+ # S1148 $1 not found in search path"
661
+ @@error_message[:S1148] = "$1 not found in search path"
662
+
663
+ # S1149 $1 not signature"
664
+ @@error_message[:S1149] = "$1 not signature"
665
+
666
+ # S1150 $1: fail to new"
667
+ @@error_message[:S1150] = "$1: fail to new"
668
+
669
+ # S1151 $1: not namespace"
670
+ @@error_message[:S1151] = "$1: not namespace"
671
+
672
+ # S1152 $1: call port cannot have fixed join"
673
+ @@error_message[:S1152] = "$1: call port cannot have fixed join"
674
+
675
+ # "S1153 $1: cannot be entry port array for fixed join port"
676
+ @@error_message[:S1153] = "$1: cannot be entry port array for fixed join port"
677
+
678
+ # "S1154 $1: must be singleton celltype for fixed join"
679
+ @@error_message[:S1154] = "$1: must be singleton celltype for fixed join"
680
+
681
+ # "S1155 $1: not celltype or not found"
682
+ @@error_message[:S1155] = "$1: not celltype or not found"
683
+
684
+ # "S1156 $1: not call port or not found"
685
+ @@error_message[:S1156] = "$1: not call port or not found"
686
+
687
+ # "S1157 $1: sized array or not array"
688
+ @@error_message[:S1157] = "$1: sized array or not array"
689
+
690
+ # "S1158 $1: singleton cell not found for fixed join"
691
+ @@error_message[:S1158] = "$1: singleton cell not found for fixed join"
692
+
693
+ # S1159 $1: non-size_is pointer cannot be initialized with array initializer"
694
+ @@error_message[:S1159] = "$1: non-size_is pointer cannot be initialized with array initializer"
695
+
696
+ # S1160 $1 must be constant for id"
697
+ @@error_message[:S1160] = "$1 must be constant for id"
698
+
699
+ # S1161 $1 must be constant for id"
700
+ @@error_message[:S1161] = "$1 must be constant for id"
701
+
702
+ # S1162 $1: id cannot be 0"
703
+ @@error_message[:S1162] = "$1: id cannot be 0"
704
+
705
+ # S1163 generate specifier duplicate"
706
+ @@error_message[:S1163] = "generate specifier duplicate"
707
+
708
+ # S1164 '$1' set_specified_id: id not positive integer '$2'"
709
+ @@error_message[:S1164] = "'$1' set_specified_id: id not positive integer '$2'"
710
+
711
+ # S1165 '$1' set_specified_id: id duplicate"
712
+ @@error_message[:S1165] = "'$1' set_specified_id: id duplicate"
713
+
714
+ # S1166 $1: fail to new"
715
+ @@error_message[:S1166] = "$1: fail to new"
716
+
717
+ # S1167 \'$1\': relay mismatch \'$2\'"
718
+ @@error_message[:S1167] = "\'$1\': relay mismatch \'$2\'"
719
+
720
+ # S1168 too many initializer for array, $1 for $2"
721
+ @@error_message[:S1168] = "too many initializer for array, $1 for $2"
722
+
723
+ # S1169 $1: non-size_is pointer cannot be initialized with array initializer"
724
+ @@error_message[:S1169] = "$1: non-size_is pointer cannot be initialized with array initializer"
725
+
726
+ # S1170 \'$1\' has size_is but export attr \'$2\' doesn't have"
727
+ @@error_message[:S1170] = "\'$1\' has size_is but export attr \'$2\' doesn't have"
728
+
729
+ # S1171 \'$1\' size_is argument of \'$2\' not exported"
730
+ @@error_message[:S1171] = "\'$1\' size_is argument of \'$2\' not exported"
731
+
732
+ # S1172 \'$1\' size_is argument mismatch with exporting one \'$2\'"
733
+ @@error_message[:S1172] = "\'$1\' size_is argument mismatch with exporting one \'$2\'"
734
+
735
+ # S1173 $1: allocator mismatch from $2's allocator"
736
+ @@error_message[:S1173] = "$1: allocator mismatch from $2's allocator"
737
+
738
+ # S1174 $1 not suitable for lhs, suitable lhs: 'func.param'"
739
+ @@error_message[:S1174] = "$1 not suitable for lhs, suitable lhs: 'func.param'"
740
+
741
+ # S1175 $1 not found or not allocator entry port for $2"
742
+ @@error_message[:S1175] = "$1 not found or not allocator entry port for $2"
743
+
744
+ # S1176 rhs not in 'call_port.func.param' form for $1_$2"
745
+ @@error_message[:S1176] = "rhs not in 'call_port.func.param' form for $1_$2"
746
+
747
+ # S1177 cannot specify 'through' in composite in current version"
748
+ @@error_message[:S1177] = "cannot specify 'through' in composite in current version"
749
+
750
+ # S1178 $1 region type specifier duplicate, previous $2"
751
+ @@error_message[:S1178] = "$1 region type specifier duplicate, previous $2"
752
+
753
+ ### syntaxobj.rb
754
+ # S2001 \'$1\' duplicate $2"
755
+ @@error_message[:S2001] = "\'$1\' duplicate $2"
756
+
757
+ # S2002 $1: $2"
758
+ @@error_message[:S2002] = "$1: $2"
759
+
760
+ # S2003 $1: $2 cannot have initializer"
761
+ @@error_message[:S2003] = "$1: $2 cannot have initializer"
762
+
763
+ # S2004 $1: array subscript must be specified or omit"
764
+ @@error_message[:S2004] = "$1: array subscript must be specified or omit"
765
+
766
+ # S2005 $1: array subscript must be specified"
767
+ @@error_message[:S2005] = "$1: array subscript must be specified"
768
+
769
+ # S2006 \'$1\' function"
770
+ @@error_message[:S2006] = "\'$1\' function"
771
+
772
+ # S2007 \'$1\' $2"
773
+ @@error_message[:S2007] = "\'$1\' $2"
774
+
775
+ # S2008 $1: inconsitent with previous one"
776
+ @@error_message[:S2008] = "$1: inconsitent with previous one"
777
+
778
+ # S2009 $1: not found or not signature"
779
+ @@error_message[:S2009] = "$1: not found or not signature"
780
+
781
+ # S2010 $1: not allocator signature"
782
+ @@error_message[:S2010] = "$1: not allocator signature"
783
+
784
+ # S2011 size_is duplicate"
785
+ @@error_message[:S2011] = "size_is duplicate"
786
+
787
+ # S2012 count_is duplicate"
788
+ @@error_message[:S2012] = "count_is duplicate"
789
+
790
+ # S2013 string duplicate"
791
+ @@error_message[:S2013] = "string duplicate"
792
+
793
+ # S2014 $1 need pointer or more pointer"
794
+ @@error_message[:S2014] = "$1 need pointer or more pointer"
795
+
796
+ # S2015 $1 must be const for \'in\' parameter $2"
797
+ @@error_message[:S2015] = "'$1' must be const for \'in\' parameter $2"
798
+
799
+ # S2016 $1 can not be const for $2 parameter"
800
+ @@error_message[:S2016] = "'$1' can not be const for $2 parameter"
801
+
802
+ # S2017 size_is argument is not integer type"
803
+ @@error_message[:S2017] = "size_is argument is not integer type"
804
+
805
+ # S2018 \'$1\' size_is parameter not integer"
806
+ @@error_message[:S2018] = "\'$1\' size_is parameter not integer"
807
+
808
+ # S2019 \'$1\' size_is parameter negative or zero"
809
+ @@error_message[:S2019] = "\'$1\' size_is parameter negative or zero"
810
+
811
+ # S2020 count_is argument is not integer type"
812
+ @@error_message[:S2020] = "count_is argument is not integer type"
813
+
814
+ # S2021 \'$1\' count_is parameter not integer"
815
+ @@error_message[:S2021] = "\'$1\' count_is parameter not integer"
816
+
817
+ # S2022 \'$1\' count_is parameter negative or zero"
818
+ @@error_message[:S2022] = "\'$1\' count_is parameter negative or zero"
819
+
820
+ # S2023 string argument is not integer type"
821
+ @@error_message[:S2023] = "string argument is not integer type"
822
+
823
+ # S2024 \'$1\' string parameter not integer"
824
+ @@error_message[:S2024] = "\'$1\' string parameter not integer"
825
+
826
+ # S2025 \'$1\' string parameter negative or zero"
827
+ @@error_message[:S2025] = "\'$1\' string parameter negative or zero"
828
+
829
+ # S2026 '$1' nullable specified for non-pointer type"
830
+ @@error_message[:S2026] = "'$1' nullable specified for non-pointer type"
831
+
832
+ # S2027 '$1' parameter cannot be void type"
833
+ @@error_message[:S2027] = "'$1' parameter cannot be void type"
834
+
835
+ # S2028 '$1' max (size_is 2nd parameter) not constant"
836
+ @@error_message[:S2028] = "'$1' max (size_is 2nd parameter) not constant"
837
+
838
+ # S2029 '$1' max (size_is 2nd parameter) negative or zero, or not integer"
839
+ @@error_message[:S2029] = "'$1' max (size_is 2nd parameter) negative or zero, or not integer"
840
+
841
+ # S2030 '$1' both size_is and max are const. size_is larger than max"
842
+ @@error_message[:S2030] = "'$1' both size_is and max are const. size_is larger than max"
843
+
844
+ ### optimize.rb
845
+ # S3001 $1: id too large $2 (max=$3)"
846
+ @@error_message[:S3001] = "$1: id too large $2 (max=$3)"
847
+
848
+ # S3002 $1: id too large $2 (max=$3)"
849
+ @@error_message[:S3002] = "$1: id too large $2 (max=$3)"
850
+
851
+ # S3003 $1: id number '$2' conflict with $3"
852
+ @@error_message[:S3003] = "$1: id number '$2' conflict with $3"
853
+
854
+ ### types.rb
855
+ # T1001 const duplicate"
856
+ @@error_message[:T1001] = "const duplicate"
857
+
858
+ # T1002 volatile duplicate"
859
+ @@error_message[:T1002] = "volatile duplicate"
860
+
861
+ # T1003 $1: unsuitable specifier for $2"
862
+ @@error_message[:T1003] = "$1: unsuitable specifier for $2"
863
+
864
+ # T1004 cannot cast to $1"
865
+ @@error_message[:T1004] = "cannot cast to $1"
866
+
867
+ # T1005 \'$1\' not defined"
868
+ @@error_message[:T1005] = "\'$1\' not defined"
869
+
870
+ # T1006 \'$1\' not type name. expecting type name here"
871
+ @@error_message[:T1006] = "\'$1\' not type name. expecting type name here"
872
+
873
+ # T1007 $1: void type variable cannot have initializer"
874
+ @@error_message[:T1007] = "$1: void type variable cannot have initializer"
875
+
876
+ # T1008 ambigous signed or unsigned"
877
+ @@error_message[:T1008] = "ambigous signed or unsigned"
878
+
879
+ # T1009 $1: $2: not integer"
880
+ @@error_message[:T1009] = "$1: $2: not integer"
881
+
882
+ # T1010 $1: initializer is not constant"
883
+ @@error_message[:T1010] = "$1: initializer is not constant"
884
+
885
+ # T1011 $1: need cast to assign float to integer"
886
+ @@error_message[:T1011] = "$1: need cast to assign float to integer"
887
+
888
+ # T1012 $1: $2: not integer"
889
+ @@error_message[:T1012] = "$1: $2: not integer"
890
+
891
+ # T1013 $1: too large (max=$2)"
892
+ @@error_message[:T1013] = "$1: too large (max=$2)"
893
+
894
+ # T1014 $1: too large negative value (min=-$2)"
895
+ @@error_message[:T1014] = "$1: too large negative value (min=-$2)"
896
+
897
+ # T1015 $1: negative value for unsigned"
898
+ @@error_message[:T1015] = "$1: negative value for unsigned"
899
+
900
+ # T1016 $1: too large (max=$2)"
901
+ @@error_message[:T1016] = "$1: too large (max=$2)"
902
+
903
+ # T1017 $1: unsuitable initializer for scalar type"
904
+ @@error_message[:T1017] = "$1: unsuitable initializer for scalar type"
905
+
906
+ # T1018 $1: $2: not number"
907
+ @@error_message[:T1018] = "$1: $2: not number"
908
+
909
+ # T1019 $1: initializer is not constant"
910
+ @@error_message[:T1019] = "$1: initializer is not constant"
911
+
912
+ # T1020 $1: unsuitable initializer for scalar type"
913
+ @@error_message[:T1020] = "$1: unsuitable initializer for scalar type"
914
+
915
+ # T1021 \'$1\': struct not defined"
916
+ @@error_message[:T1021] = "\'$1\': struct not defined"
917
+
918
+ # T1022 struct $1: not defined"
919
+ @@error_message[:T1022] = "struct $1: not defined"
920
+
921
+ # T1023 struct $1: not defined"
922
+ @@error_message[:T1023] = "struct $1: not defined"
923
+
924
+ # T1024 $1: unsuitable initializer for struct"
925
+ @@error_message[:T1024] = "$1: unsuitable initializer for struct"
926
+
927
+ # T1025 size_is argument is not integer type"
928
+ @@error_message[:T1025] = "size_is argument is not integer type"
929
+
930
+ # T1026 count_is argument is not integer type"
931
+ @@error_message[:T1026] = "count_is argument is not integer type"
932
+
933
+ # T1027 string argument is not integer type"
934
+ @@error_message[:T1027] = "string argument is not integer type"
935
+
936
+ # T1028 $1: cannot initialize function pointer"
937
+ @@error_message[:T1028] = "$1: cannot initialize function pointer"
938
+
939
+ # T1029 oneway function cannot return type \'$1$2\', \'void\' or \'ER\' is permitted"
940
+ @@error_message[:T1029] = "oneway function cannot return type \'$1$2\', \'void\' or \'ER\' is permitted"
941
+
942
+ # T1030 oneway function cannot have $1 parameter for \'$2\'"
943
+ @@error_message[:T1030] = "oneway function cannot have $1 parameter for \'$2\'"
944
+
945
+ # T1031 $1: unsuitable initializer for array"
946
+ @@error_message[:T1031] = "$1: unsuitable initializer for array"
947
+
948
+ # T1032 $1: incompatible pointer type"
949
+ @@error_message[:T1032] = "$1: incompatible pointer type"
950
+
951
+ # T1033 $1: need cast to assign integer to pointer"
952
+ @@error_message[:T1033] = "$1: need cast to assign integer to pointer"
953
+
954
+ # T1034 $1: unsuitable string constant"
955
+ @@error_message[:T1034] = "$1: unsuitable string constant"
956
+
957
+ # T1035 $1: unsuitable initializer for pointer"
958
+ @@error_message[:T1035] = "$1: unsuitable initializer for pointer"
959
+
960
+ # T1036 $1: unsuitable initializer for pointer"
961
+ @@error_message[:T1036] = "$1: unsuitable initializer for pointer"
962
+
963
+ # T1037 $1: not number"
964
+ @@error_message[:T1037] = "$1: not number"
965
+
966
+ # T1038 $1: initializer type mismatch. '$2' & '$3'"
967
+ @@error_message[:T1038] = "$1: initializer type mismatch. '$2' & '$3'"
968
+
969
+ # T1039 $1: struct tag mismatch $2 and $3"
970
+ @@error_message[:T1039] = "$1: struct tag mismatch $2 and $3"
971
+
972
+ # T1040 $1 specified for void pointer type"
973
+ @@error_message[:T1040] = "$1 specified for void pointer type"
974
+
975
+ ### gen_xml.rb
976
+ # T2001 fail to create XML file $1"
977
+ @@error_message[:T2001] = "fail to create XML file $1"
978
+
979
+ # TEMPORAL set_definition_join: uninitialized array member"
980
+ @@error_message[:TEMPORAL] = "set_definition_join: uninitialized array member"
981
+
982
+ # V1001 $1: unable for $2"
983
+ @@error_message[:V1001] = "$1: unable for $2"
984
+
985
+ # V1002 $1: cannot cast to bool (implicitly)"
986
+ @@error_message[:V1002] = "$1: cannot cast to bool (implicitly)"
987
+
988
+ # V1003 $1: cannot cast to integer (implicitly)"
989
+ @@error_message[:V1003] = "$1: cannot cast to integer (implicitly)"
990
+
991
+ # V1004 $1: cannot cast to float (implicitly)"
992
+ @@error_message[:V1004] = "$1: cannot cast to float (implicitly)"
993
+
994
+ # V1005 Cannot cast pointer to float"
995
+ @@error_message[:V1005] = "Cannot cast pointer to float"
996
+
997
+ # V1006 pointer value cannot cast to $1"
998
+ @@error_message[:V1006] = "pointer value cannot cast to $1"
999
+
1000
+ # V1007 convert pointer value to bool"
1001
+ @@error_message[:V1007] = "convert pointer value to bool"
1002
+
1003
+ # V1008 convert pointer value to integer without cast"
1004
+ @@error_message[:V1008] = "convert pointer value to integer without cast"
1005
+
1006
+ # V1009 / : divieded by zero"
1007
+ @@error_message[:V1009] = "/ : divieded by zero"
1008
+
1009
+ # V1010 / : divieded by zero"
1010
+ @@error_message[:V1010] = "/ : divieded by zero"
1011
+
1012
+ # V1011 % : divieded by zero"
1013
+ @@error_message[:V1011] = "% : divieded by zero"
1014
+
1015
+ # V1012 % : divieded by zero"
1016
+ @@error_message[:V1012] = "% : divieded by zero"
1017
+
1018
+ # V1013 integer value cannot cast to $1"
1019
+ @@error_message[:V1013] = "integer value cannot cast to $1"
1020
+
1021
+ # V1014 comparing bool value with \'$1\'"
1022
+ @@error_message[:V1014] = "comparing bool value with \'$1\'"
1023
+
1024
+ # V1015 comparing bool value with \'$1\'"
1025
+ @@error_message[:V1015] = "comparing bool value with \'$1\'"
1026
+
1027
+ # V1016 bool value cannot cast to $1"
1028
+ @@error_message[:V1016] = "bool value cannot cast to $1"
1029
+
1030
+ # V1017 / : divieded by zero"
1031
+ @@error_message[:V1017] = "/ : divieded by zero"
1032
+
1033
+ # V1018 % : divieded by zero"
1034
+ @@error_message[:V1018] = "% : divieded by zero"
1035
+
1036
+ # V1019 floating value cannot cast to $1"
1037
+ @@error_message[:V1019] = "floating value cannot cast to $1"
1038
+
1039
+ # V1020 convert floating value to bool without cast"
1040
+ @@error_message[:V1020] = "convert floating value to bool without cast"
1041
+
1042
+ # V1021 convert floating value to integer without cast"
1043
+ @@error_message[:V1021] = "convert floating value to integer without cast"
1044
+
1045
+ # V1022 string cannot cast to integer"
1046
+ @@error_message[:V1022] = "string cannot cast to integer"
1047
+
1048
+ # V1023 string cannot cast to float"
1049
+ @@error_message[:V1023] = "string cannot cast to float"
1050
+
1051
+ # V1024 string cannot cast to pointer"
1052
+ @@error_message[:V1024] = "string cannot cast to pointer"
1053
+
1054
+ # V1025 string cannot cast to $1"
1055
+ @@error_message[:V1025] = "string cannot cast to $1"
1056
+
1057
+ ###
1058
+ # warning メッセージ
1059
+ @@warning_message = {}
1060
+
1061
+ ### componentobj.rb
1062
+ # W1001 \'$1\': unknown context type. usually specifiy task, non-task or any"
1063
+ @@warning_message[:W1001] = "\'$1\': unknown context type. usually specifiy task, non-task or any"
1064
+
1065
+ # W1002 $1: non-active celltype has no entry port & factory"
1066
+ @@warning_message[:W1002] = "$1: non-active celltype has no entry port & factory"
1067
+
1068
+ # W1003 $1 : require call port overridden in $2"
1069
+ @@warning_message[:W1003] = "$1 : require call port overridden in $2"
1070
+
1071
+ # W1004 $1 : specified singleton but has no singleton in this celltype"
1072
+ @@warning_message[:W1004] = "$1 : specified singleton but has no singleton in this celltype"
1073
+
1074
+ # W1005 $1 : idx_is_id is ineffective for composite celltype"
1075
+ @@warning_message[:W1005] = "$1 : idx_is_id is ineffective for composite celltype"
1076
+
1077
+ # W1006 $1 : only prototype, unused and undefined cell"
1078
+ @@warning_message[:W1006] = "$1 : only prototype, unused and undefined cell"
1079
+
1080
+ # W1007 $1 : non-active cell has no entry join and no factory"
1081
+ @@warning_message[:W1007] = "$1 : non-active cell has no entry join and no factory"
1082
+
1083
+ # W1008 $1: reuse designation mismatch with previous import"
1084
+ @@warning_message[:W1008] = "$1: reuse designation mismatch with previous import"
1085
+
1086
+ # "W1009 $1: fixed join entry port has multi join"
1087
+ @@warning_message[:W1009] = "$1: fixed join entry port has multi join"
1088
+
1089
+ ### types.rb
1090
+ # W2001 signed int$1_t: obsolete. use int$2_t"
1091
+ @@warning_message[:W2001] = "signed int$1_t: obsolete. use int$2_t"
1092
+
1093
+ # W2002 unsinged int$1_t: obsolete. use uint$2_t"
1094
+ @@warning_message[:W2002] = "unsinged int$1_t: obsolete. use uint$2_t"
1095
+
1096
+ # W2003 $1: too large to cast to $2, clipped($3)"
1097
+ @@warning_message[:W2003] = "$1: too large to cast to $2, clipped($3)"
1098
+
1099
+ # W2004 $1: too small to cast to $2, clipped($3)"
1100
+ @@warning_message[:W2004] = "$1: too small to cast to $2, clipped($3)"
1101
+
1102
+ # W2005 $1: negative value for unsigned: convert to $2"
1103
+ @@warning_message[:W2005] = "$1: negative value for unsigned: convert to $2"
1104
+
1105
+ ### syntaxobj.rb
1106
+ # W3001 $1: duplicate"
1107
+ @@warning_message[:W3001] = "$1: duplicate"
1108
+
1109
+ # W3002 $1: this string might cause buffer over run"
1110
+ @@warning_message[:W3002] = "$1: this string might cause buffer over run"
1111
+
1112
+ # W3003 $1 pointer level mismatch"
1113
+ @@warning_message[:W3003] = "$1 pointer level mismatch"
1114
+
1115
+ # W3004 $1 pointer type has returned. specify deviate or stop return pointer"
1116
+ @@error_message[:W3004] = "$1 pointer type has returned. specify deviate or stop return pointer"
1117
+
1118
+ # W3005 '$1' size_is always lower than max. max is ignored"
1119
+ @@error_message[:W3005] = "'$1' size_is always lower than max. max is ignored"
1120
+
1121
+ ### bnf.y.rb
1122
+ # W5001 bool: obsolete type. use bool_t"
1123
+ @@warning_message[:W5001] = "bool: obsolete type. use bool_t"
1124
+
1125
+ # W5002 float: obsolete type. use float32_t"
1126
+ @@warning_message[:W5002] = "float: obsolete type. use float32_t"
1127
+
1128
+ # W5003 double: obsolete type. use double64_t"
1129
+ @@warning_message[:W5003] = "double: obsolete type. use double64_t"
1130
+
1131
+ # W5004 char: obsolete type. use char_t"
1132
+ @@warning_message[:W5004] = "char: obsolete type. use char_t"
1133
+
1134
+ # W5005 int8: obsolete. use int8_t"
1135
+ @@warning_message[:W5005] = "int8: obsolete. use int8_t"
1136
+
1137
+ # W5006 int16: obsolete. use int16_t"
1138
+ @@warning_message[:W5006] = "int16: obsolete. use int16_t"
1139
+
1140
+ # W5007 int32: obsolete. use int32_t"
1141
+ @@warning_message[:W5007] = "int32: obsolete. use int32_t"
1142
+
1143
+ # W5008 int64: obsolete. use int64_t"
1144
+ @@warning_message[:W5008] = "int64: obsolete. use int64_t"
1145
+
1146
+ # W5009 int64: obsolete. use int64_t"
1147
+ @@warning_message[:W5009] = "int64: obsolete. use int64_t"
1148
+
1149
+ # W5010 need 'void' for no parameter"
1150
+ @@warning_message[:W5010] = "need 'void' for no parameter"
1151
+
1152
+ # W5011 need 'void' for no parameter"
1153
+ @@warning_message[:W5011] = "need 'void' for no parameter"
1154
+
1155
+ ### C_parser.y.rb
1156
+ # W6001 need 'void' for no parameter"
1157
+ @@warning_message[:W6001] = "need 'void' for no parameter"
1158
+
1159
+ # W6002 need 'void' for no parameter"
1160
+ @@warning_message[:W6002] = "need 'void' for no parameter"
1161
+
1162
+ # W6003 need 'void' for no parameter"
1163
+ @@warning_message[:W6003] = "need 'void' for no parameter"
1164
+
1165
+ # W6004 need 'void' for no parameter"
1166
+ @@warning_message[:W6004] = "need 'void' for no parameter"
1167
+
1168
+ ###
1169
+ # info メッセージ
1170
+ @@info_message = {}
1171
+ end