Przeglądaj źródła

add functional break comments

pull/467/head
davemachado 6 lat temu
rodzic
commit
c8525b2f6d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      build/validate_format.rb

+ 2
- 0
build/validate_format.rb Wyświetl plik

@@ -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


Ładowanie…
Anuluj
Zapisz