Skip to content

Allow trailing comments in custom symbol files#5610

Merged
PaulWessel merged 1 commit intomasterfrom
allow-comments-def
Aug 8, 2021
Merged

Allow trailing comments in custom symbol files#5610
PaulWessel merged 1 commit intomasterfrom
allow-comments-def

Conversation

@PaulWessel
Copy link
Member

See the problem reported on the forum. This PR allows comments to follow custom commands and they get stripped off before parsing. E.g., this line:

$1 O # Rotate coordinate system by this azimuth

would crash plot because it was trying to parse the trailing text.

See the problem reported on the forum.  This PR allows comments to follow custom commands and they get stripped off before parsing.
@PaulWessel PaulWessel added the new feature PR that implements a new feature or capability in GMT label Aug 8, 2021
@PaulWessel PaulWessel self-assigned this Aug 8, 2021
@PaulWessel PaulWessel merged commit d373f56 into master Aug 8, 2021
@PaulWessel PaulWessel deleted the allow-comments-def branch August 8, 2021 22:42
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog new feature PR that implements a new feature or capability in GMT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants