mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
add functional break comments
This commit is contained in:
@@ -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