Also, the Pascal ctags parser used to crash (in 1.38 which you are using) because of https://github.com/geany/geany/issues/3127 which is fixed now. Since in this case you are setting Pascal filetype for a Basic file, the Pascal ctags parser will be very confused by the input (still, it shouldn't crash).