--- Build strict file-reference rules for C source files
-- @module formats.c.references

local c_references = {}

--- Return file-reference rules for includes and explicit source locations
-- @return table rules
function c_references.new()
	return {
		{ prefix = "#%s*include%s*", open = "\"", close = "\"" },
		{ prefix = "#%s*include%s*", open = "<", close = ">" },
		{ locations = "required" },
	}
end

return c_references
