[Github-comments] [geany/geany] If variable name contains "type" Pascal parser recognized non-existing symbol (#1409)

Peter C. S. Scholtens notifications at xxxxx
Fri Feb 24 19:04:37 UTC 2017


If a variable name ends with "type", the symbol parser recognizes a symbol which does not exist. As an example, see the following code below:

> procedure plot_labels(iy,iy2: stipint; labtype: stipint);
const
  c_marker_type=1;
var
locdbg: boolean;
   {actual code}
end;

Which creates two functions: plot_labels (correct) and 1 (this is incorrect). See screenshot below:

![image](https://cloud.githubusercontent.com/assets/7198614/23316826/4c7ebeee-facc-11e6-8b4c-bda16d8b7855.png)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1409
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170224/6892408f/attachment.html>


More information about the Github-comments mailing list