Menu

#30 Support for negative numbers in (T)SWITCH

Unstable (example)
open
nobody
None
5
2015-01-13
2015-01-13
Wim Nelis
No

This patch adds support for negative numbers in the (T)SWITCH transforms. The negative numbers were not allowed by the syntax check (module dm_templates.pm, function read_transforms_file), but were already allowed by the logic of the (T)SWITCH transform (module dm_templates.pm, function post_template_load). An inconsistency is removed: even if no comparison operator is specified, a non-integer number is allowed.

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.