Chris Hansen

Results 44 comments of Chris Hansen

I just pushed some changes up to the next version branch (see above) to work towards adding this functionality. The `v1.10` branch should now support all preprocessing elements of header...

Yeah, one of the reasons I have not added this yet is that for Atom and VSCode at least the most common snippets are already provided (since the "language support"...

I would certainly consider supporting this feature (optionally), but I have never seen it used personally. Do you know what compilers support it? I couldn't find any documentation on it...

I hesitate to add this feature since not only is it a non-standard extension but it is not officially documented either. I agree that the dotted syntax is cleaner and...

Unfortunately, this is a tricky situation since it relies on more complete preprocessor handling in the language server. I plan to add more preprocessor functionality in the future, but I...

Ok, I just pushed a simple implementation of this to a testing branch ([simple_preproc](https://github.com/hansec/fortran-language-server/compare/simple_preproc)). It supports defining preprocessor variables in the `.fortls` file and tracks `#define` and `#undef` statements in...

@mscfd Thanks for the report. However, I am unable to replicate the parser crash you see for the given code (repeated below with hopefully correct formatting). The parser reports errors...

@mscfd and @emanspeaks I just pushed an improved version of preprocessing to the branch [cpp_if_parsing](https://github.com/hansec/fortran-language-server/tree/cpp_if_parsing). Check it out and see if that improves things for you or causes more problems....

@mscfd Thanks, I am able to reproduce the error now. I will try and correct this type of issue for general syntax errors as you mentioned. I think I found...

@mscfd I think I was able to fix the parser crash issue you mentioned. Although, of course a syntax error like this leads to lots of diagnostics errors. Hopefully, they...