changeset 1459:4b613aaf8873

org_to_fd.pl: fix non-numeric section handling
author Luke Mewburn <luke@mewburn.net>
date Mon, 09 Mar 2020 18:37:24 +1100
parents c25dea477d6a
children 4f44d206e60d
files contrib/tools/org_to_fd.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/tools/org_to_fd.pl	Fri Feb 28 11:22:07 2020 +1100
+++ b/contrib/tools/org_to_fd.pl	Mon Mar 09 18:37:24 2020 +1100
@@ -111,7 +111,7 @@
     my ($desc) = $name;
     $desc .= ", " . $type;
     $desc .= ", code " . $code;
-    $desc .= ", section " . $section if $section != "";
+    $desc .= ", section " . $section if $section ne "";
     print_comment($desc);
     print "\t{\n";
     print "\t\tstruct dict_avp_data data = {\n";
"Welcome to our mercurial repository"