From f61ee3ff4bea58ba34abd792db0f26f563fbf8f5 Mon Sep 17 00:00:00 2001
From: Seth Hillbrand <seth@kipro-pcb.com>
Date: Mon, 13 May 2024 16:54:37 -0700
Subject: [PATCH] Remove unused code generation path

After 11 years, I doubt we're making this file format
---
 .gitignore                    |  2 --
 eeschema/CMakeLists.txt       | 10 ----------
 eeschema/cmp_library.keywords | 33 ---------------------------------
 3 files changed, 45 deletions(-)
 delete mode 100644 eeschema/cmp_library.keywords

diff --git a/.gitignore b/.gitignore
index f3616aa25d..184adc1dbe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,8 +17,6 @@ include/fp_lib_table_lexer.h
 include/lib_table_lexer.h
 include/netlist_lexer.h
 include/page_layout_reader_lexer.h
-eeschema/cmp_library_lexer.h
-eeschema/cmp_library_keywords.*
 eeschema/dialogs/dialog_bom_cfg_keywords.cpp
 eeschema/dialogs/dialog_bom_cfg_lexer.h
 common/template_fieldnames_keywords.cpp
diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt
index fd3521aaf1..4fa7fa3be9 100644
--- a/eeschema/CMakeLists.txt
+++ b/eeschema/CMakeLists.txt
@@ -707,16 +707,6 @@ if( KICAD_WIN32_INSTALL_PDBS )
     install(FILES $<TARGET_PDB_FILE:eeschema_kiface> DESTINATION ${KICAD_KIFACE})
 endif()
 
-# auto-generate cmp_library_lexer.h and cmp_library_keywords.cpp for the component
-# library format.
-make_lexer(
-    eeschema_kiface_objects
-    cmp_library.keywords
-    cmp_library_lexer.h
-    cmp_library_keywords.cpp
-    TLIB_T
-    )
-
 make_lexer(
     eeschema_kiface_objects
     dialogs/dialog_bom_cfg.keywords
diff --git a/eeschema/cmp_library.keywords b/eeschema/cmp_library.keywords
deleted file mode 100644
index 6640005c1c..0000000000
--- a/eeschema/cmp_library.keywords
+++ /dev/null
@@ -1,33 +0,0 @@
-header
-version
-name
-author
-comment
-license
-url
-copyright
-symbol
-component
-field
-tags
-docs
-drawing
-arc
-start
-end
-rectangle
-position
-width
-height
-polyline
-circle
-center
-radius
-text
-orientation
-pin
-number
-length
-electical_type
-style
-fill_style