发明名称 Program analyzer to specify a start position of a function in a source program
摘要 A program analyzer in which a part of an inputted C-source program is either a declaration or a function definition. To define a start position of the function designated in the C-source program at high speed and high precision, a DD-detection processor is provided for detecting a direct declarator or a character/token ";" in the outside of the characters/tokens "{" and "}" of the part of the C-source program. An identification processor determines that the C-source program is the declaration when the DD-detection processor detects the character/token ";". The identification processor further determines that the C-source program is the declaration when the DD-detection processor detects the direct declarator and further detects that the next character/token of the direct declarator indicates one of characters/tokens "=", "," and ";". The identification processor further determines that the C-source program is the function definition when the DD-detection processor detects the direct declarator and further detects that the next character/token of the direct declarator indicates the characters/tokens except for above mentioned characters/tokens.
申请公布号 US5649201(A) 申请公布日期 1997.07.15
申请号 US19960739215 申请日期 1996.10.29
申请人 FUJITSU LIMITED 发明人 KITADATE, YOHTARO
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址