<commit_before>package compile

import (
	"github.com/jimmyfrasche/etlite/internal/ast"
	"github.com/jimmyfrasche/etlite/internal/internal/errusr"
	"github.com/jimmyfrasche/etlite/internal/virt"
)

func (c *compiler) compileDisplay(d *ast.Display) {
	if d.Format == nil && d.Device == nil {
		panic(errusr.New(d.Pos(), "at least one of format or device must be specified on DISPLAY statement"))
	}<commit_msg>correct frame handling in display compiler<commit_after>package compile

import (
	"github.com/jimmyfrasche/etlite/internal/ast"
	"github.com/jimmyfrasche/etlite/internal/internal/errusr"
	"github.com/jimmyfrasche/etlite/internal/virt"
)

func (c *compiler) compileDisplay(d *ast.Display) {
	if d.Format == nil && d.Device == nil && d.Frame == "" {
		panic(errusr.New(d.Pos(), "at least one of format, device, or frame must be specified on DISPLAY statement"))
	}
{'fraction_non_alphanumeric': 0.13876146788990826, 'fraction_numerical': 0.0, 'mean_word_length': 4.97945205479452, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '895517', 'n_tokens_mistral': 317, 'n_tokens_neox': 307, 'n_words': 67}