amitools icon indicating copy to clipboard operation
amitools copied to clipboard

fd (arp_lib.fd)

Open lab313ru opened this issue 5 years ago • 3 comments

There is the following regex line: https://github.com/cnvogelg/amitools/blob/master/amitools/fd/FDFormat.py#L69 It cannot match a line like this (I found it in arp_lib.fd):

Input()

arp_lib.zip

lab313ru avatar Jul 26 '20 12:07 lab313ru

You should use the following regex to match this line too:

([A-Za-z][_A-Za-z00-9]+)\((.*?)\)(?:\((.*?)\))?

lab313ru avatar Jul 26 '20 13:07 lab313ru

Also, you should mention that there is the following line with the duplicate arg name:

Execute(string,file,file)(D1/D2/D3)

lab313ru avatar Jul 26 '20 13:07 lab313ru

And also this line (there is a space):

Printf(string, stream)(a0/a1)

And this:

GetKeywordIndex(char *,char *)(A0/A1)

Just arg types instead of names.

lab313ru avatar Jul 26 '20 13:07 lab313ru