lib/activefacts/cql/compiler.rb in activefacts-0.8.18 vs lib/activefacts/cql/compiler.rb in activefacts-1.0.0

- old
+ new

@@ -94,10 +94,10 @@ saved_index = @index saved_block = @block saved_string = @string saved_input_length = @input_length old_filename = @filename - @filename = file+'.cql' # REVISIT: Use File.dirname(@filename)+@filename ? + @filename = File.dirname(old_filename)+'/'+file+'.cql' # REVISIT: Save and use another @vocabulary for this file? File.open(@filename) do |f| ok = parse_all(f.read, nil, &@block) end