From 48dd8bcc11e9fc3aaecc3088dd093664a58e40be Mon Sep 17 00:00:00 2001 From: LKedward Date: Sat, 3 Oct 2020 12:49:30 +0100 Subject: Update: source parsing test - include statement Demonstrates bug in include statement parsing - currently erroneously parsing all statements that begin with 'include'. --- fpm/test/fpm_test/test_source_parsing.f90 | 2 ++ 1 file changed, 2 insertions(+) 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' -- cgit v1.2.3