##// END OF EJS Templates
Replaces QString unit by a new struct...
Replaces QString unit by a new struct The Unit struct contains a flag that indicates if it's a time unit or not. It will be used to set the correct ticker for axes on a graph (default ticker or datetime ticker)

File last commit:

r2:451739a45362
r177:4c64b786fec1
Show More
IPSIS_S04_FILENAME.tcl
13 lines | 479 B | application/x-tcl | TclLexer
Ajout de vera++
r2 #!/usr/bin/tclsh
# Naming conventions for file names
set fileNameRegex [getParameter "filename-regex" {^[A-Z]\w*$}]
foreach fileName [getSourceFileNames] {
# Check file name
if {[regexp {(?:\\|/)?([^\\/]+?)\.(?:h|cpp)$} $fileName matchedExpr fileNameWithoutExt]} {
if {![regexp $fileNameRegex $fileNameWithoutExt]} {
report $fileName 1 "The file names should match the following regex: $fileNameRegex (found: $fileNameWithoutExt)"
}
}
}