add functional break comments
This commit is contained in:
1 parent
7f71a9cfe6
commit
c8525b2f6d
1 file changed
+2
@@ -28,6 +28,7 @@ def add_error(line_num, val_index, message)
|
|||||||
$errors.push("(L%03d) %-14.14s #{message}" % [line_num, segment])
|
$errors.push("(L%03d) %-14.14s #{message}" % [line_num, segment])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
################### CHECK ALPHABETICAL ORDER ###################
|
||||||
section = ''
|
section = ''
|
||||||
sections = []
|
sections = []
|
||||||
section_to_line_num = {}
|
section_to_line_num = {}
|
||||||
@@ -55,6 +56,7 @@ sections.each do | sect |
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#################### CHECK LINE ENTRIES ########################
|
||||||
File.foreach(filename).with_index do | line, line_num |
|
File.foreach(filename).with_index do | line, line_num |
|
||||||
line_num += 1
|
line_num += 1
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user