commit 3fc444162f7b71d0575adb0b8978de6b11fa8e85
Author: Pavel Sanda <[email protected]>
Date:   Tue Apr 8 21:35:30 2025 +0200

    * header_check-filter_candidates.sh - remove old cruft.
---
 development/tools/header_check-filter_candidates.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/development/tools/header_check-filter_candidates.sh 
b/development/tools/header_check-filter_candidates.sh
index bfef03b028..c5db3de40a 100755
--- a/development/tools/header_check-filter_candidates.sh
+++ b/development/tools/header_check-filter_candidates.sh
@@ -42,8 +42,6 @@ while IFS='::' read -r header include; do
   if [ -n "$header" ] && [ -n "$include" ]; then
     header_file=$(basename "$header")
     header_file="${header_file%.*}" # Extract filename without extension
-    #trap_declaration="class tt${header_file}_h;"
-
 
     # Remove the "#include" part and the quotes and alike
     trap_file=$(echo "$include" | tr '<' '"' | tr '>' '"' |sed -E 
's/.*#include\s+"(.*)"/\1/'|sed 's/.*#include.//'| sed 's/\/\/.*//'|sed 's/ 
$//' |sed 's/.h$/_h/'|sed 's/.hxx$/_h/'|sed 's/.*\///')
@@ -56,9 +54,6 @@ while IFS='::' read -r header include; do
     #echo "Include statement: $include"
     #echo "Expected trap: $trap_declaration"
 
-    # Preprocess the header file
-    #preprocessed_output=$(g++ -E "$header" 2>/dev/null)
-
     if [ -e "$preprocessed_output" ]; then
       trap_count=$(cat "$preprocessed_output" | grep -F -c "$trap_declaration")
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to