diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2020-10-03 12:49:30 +0100 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2020-10-03 13:38:01 +0100 |
commit | 7ca0ba26405a074103c63f281177f3966bc0a760 (patch) | |
tree | 78ecf62c27da7bbe00d055782ebec65a1be86ce2 | |
parent | b6ec6b15ffcd764c6798bb8f76f0b6282dec437d (diff) | |
download | fpm-7ca0ba26405a074103c63f281177f3966bc0a760.tar.gz fpm-7ca0ba26405a074103c63f281177f3966bc0a760.zip |
Update: source parsing test - include statement
Demonstrates bug in include statement parsing - currently erroneously parsing all statements that begin with 'include'.
-rw-r--r-- | fpm/test/fpm_test/test_source_parsing.f90 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpm/test/fpm_test/test_source_parsing.f90 b/fpm/test/fpm_test/test_source_parsing.f90 index 0b92bef..a8bbc09 100644 --- a/fpm/test/fpm_test/test_source_parsing.f90 +++ b/fpm/test/fpm_test/test_source_parsing.f90 @@ -199,6 +199,8 @@ contains & 'program test', & & ' implicit none', & & ' include "included_file.f90"', & + & ' logical :: include_comments', & + & ' include_comments = .false.', & & ' contains ', & & ' include "second_include.f90"', & & 'end program test' |