3353a_20171013a.patch
new/rules/include/common-progress.rules 2017-10-13 18:14:29 +0000 | ||
---|---|---|
322 | 322 |
** "subscript" can be ignored. |
323 | 323 |
** CA 20170827 Function parameters can be defined "LIKE table.field" starting with |
324 | 324 |
** OE version 11. |
325 |
** 200 GES 20171013 Added func_class support to function return type analysis. |
|
325 | 326 |
*/ |
326 | 327 |
--> |
327 | 328 |
<!-- |
... | ... | |
5027 | 5028 |
<rule>ttype == prog.func_char |
5028 | 5029 |
<action>cls = "character"</action> |
5029 | 5030 |
</rule> |
5031 |
<rule>ttype == prog.func_class |
|
5032 |
<!-- TODO: this implicitly accesses "copy" with the assumption that we are at the |
|
5033 |
prog.kw_funct node; this is dangerous and would be better to be |
|
5034 |
explicitly defined --> |
|
5035 |
<rule>isNote("qualified") |
|
5036 |
<action>cls = getNoteString("qualified")</action> |
|
5037 |
</rule> |
|
5038 |
</rule> |
|
5030 | 5039 |
<rule>ttype == prog.func_com_handle |
5031 | 5040 |
<action>cls = "comhandle"</action> |
5032 | 5041 |
</rule> |