.NAME Header file name

.DESCRIPTION
	The \ character should not occur in a header file name. 
[Undefined	2.8(2)] 

.COMMENT V7.0

.SEVERITY Advisory

.COMMENT
Please refer to the MISRA C++:2008 document for further details (www.misra-cpp.com)

.COMMAND tcl

.CODE

::logiscope::include -once common utilities.tcl

proc compute {standardName tree} {
  variable CurrentParameterList
  # Check all ... nodes
  utilities::filterTree $tree [list [namespace current]::check]
}

proc check { node } {
	# Look for an include
	if { [::utilities::isTreeOperator $node pp_include ] } {
		# Retrieve the file name
		set fileNameNode [::logiscope::treeDown $node 0]
		set fileName [::logiscope::atomToString [::logiscope::treeAtomValue $fileNameNode] [::logiscope::treeAtomType $fileNameNode]]
		if {[regexp {.*\\.*} $fileName]} {
			::logiscope::addViolation $node
		}
	}
return 1
}
