mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-17 02:56:22 +02:00
add functional break comments
This commit is contained in:
parent
7f71a9cfe6
commit
c8525b2f6d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue