From c8525b2f6d8bd54f35e479931a18b10d8112cfaf Mon Sep 17 00:00:00 2001 From: davemachado Date: Fri, 18 Aug 2017 11:06:26 -0400 Subject: [PATCH] add functional break comments --- build/validate_format.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/validate_format.rb b/build/validate_format.rb index bb175ddd..512d93ab 100755 --- a/build/validate_format.rb +++ b/build/validate_format.rb @@ -28,6 +28,7 @@ def add_error(line_num, val_index, message) $errors.push("(L%03d) %-14.14s #{message}" % [line_num, segment]) end +################### CHECK ALPHABETICAL ORDER ################### section = '' sections = [] section_to_line_num = {} @@ -55,6 +56,7 @@ sections.each do | sect | end end +#################### CHECK LINE ENTRIES ######################## File.foreach(filename).with_index do | line, line_num | line_num += 1