2 require 'vtparse_tables'
5 # check that for every state, there is a transition defined
6 # for every character between 0 and A0.
11 anywhere_array = expand_ranges($states[:ANYWHERE])
13 $state_tables.each { |state, table|
14 next if state == :ANYWHERE
16 table.each_with_index { |val, i|
17 if not (val or $state_tables[:ANYWHERE][i])
18 raise "No transition defined from state #{state}, char 0x#{i.to_s(16)}!"
23 puts "Tables had all necessary transitions defined."