summaryrefslogtreecommitdiff
path: root/tests/examplefiles/fortran
Commit message (Collapse)AuthorAgeFilesLines
* Improve whitespace handling in Fortran.Matthäus G. Chajdas2021-10-022-1144/+1144
|
* Fix "do concurrent" and "go to" keywords in the Fortran lexer. (#1877)ecasglez2021-10-021-42/+126
| | | | | | | | | | | | | | | | | * Fix "do concurrent" and "go to" keywords in the Fortran lexer. * "Go to" statement was only highlighted if there was no space between "go" and "to". * "Concurrent" keyword in the "Do Concurrent" statement was never highlighted because of a typo. It has been fixed. In addition, it now highlights them only if "Concurrent" is right after the "Do" keyword. * I had to put the "do concurrent" changes before the already available list of keywords. Otherwise it won't highlight "Concurrent" because it finds first the "Do" keyword in the other list and stops searching for more keywords. * Fix a bug while parsing Fortran files with go to and do concurrent statements causing wrong highlighting. * For example, in the variable name "gotoErr", "goto" was highlighted but it shouldn't. * Update Fortran tests to the changes for the "go to statements" * Use Text.Whitespace to distinguish Fortran multiword keywords Co-authored-by: ecasglez <ecasglez@protonmail.com>
* Update Fortran test file.Matthäus G. Chajdas2021-02-121-34/+17
| | | | We identify more keywords now thanks to #1677.
* Also add auto-updatable output-based tests to examplefiles (#1689)Oleh Prypin2021-01-204-0/+7340
Co-authored-by: Georg Brandl <georg@python.org>