guardian4096 created an issue (geany/geany#4384) Hello,
Thank you for adding the Ada filetype to ctags. I ran into a "Segmentation Fault" error while typing the hello_world Ada example program in Geany IDE version 2. Note: the "Segmentation Fault" error occurred after typing "is" -- see animated gif below.  == "Segmentation Fault" Error Details == file: ada.c directory: ctags/parsers/ issue: "Segmentation Fault" error after typing "is" in Geany IDE version 2 possible cause: line 1163, "else if (line[pos] == '(')" possible fix: replace with "else if (adaCmp ("("))" ---- or ---- alternative fix: replace with "else if (!eof_reached && line[pos] == '(')" ...... The following is an example of a "Segmentation Fault" error causing Ada file: :seg_fault_example.adb: with Ada.Text_IO; procedure Seg_Fault_Example is ...... The following is a copy of the "ada.c" file with my recommended fix; namely, "from-geany-version-6.2.0-see-line-1163-ada.c" [from-geany-version-2.2.0-see-line-1163-ada.c.txt](https://github.com/user-attachments/files/21419734/from-geany-version-2.2.0-see-line-1163-ada.c.txt) Note: I also identified this issue on "ctags" github's website. I hope this information helps. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/4384 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/[email protected]>
