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

local cpp_references = {}

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

return cpp_references
