forked from TriBITSPub/TriBITS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove endfunction(<string>) and endmacro(<string>) (TriBITSPub#274, T…
…riBITSPub#382) This is a follow-on from the lower-casing in TriBITSPub#274 with PR TriBITSPub#379. It lower-cased the function and macro names at the opening macro(<name> ...) and function(<name> ...) but not the endmacro(<name> ...) and endfunction(<name> ...) calls. (I did not realize the TriBITS had any of those still.) Turns out that when the text in the opening macro(<text>) and function(<text>) does not exactly match the endmacro(<text>) and endfunction(<text>), you get a nasty warning message: A logical block opening on the line ... closes on the line ... with mis-matching arguments. (see TriBITSPub#382). The TriBITS test suite does not actually run any of this code so this was never seen prior to the creation of TriBITSPub#382. Therefore, I don't know that this solves the problem but I strongly suspect that it will. (I will run a test with an ATDM Trilinos build that should trigger this code.)
- Loading branch information
1 parent
efc76a7
commit 4bfd47b
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,5 +111,5 @@ function(add_imported_library target_name) | |
endif() | ||
|
||
endif() | ||
endfunction(ADD_IMPORTED_LIBRARY) | ||
endfunction() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters