lib symbols: make fp filter tolerant to spaces in names.

For historical reasons they are stored in a string using spaces as separators.
So each fp filter is now escaped to remove spaces (replaced by {space})
Fixes #9009
https://gitlab.com/kicad/code/kicad/issues/9009
This commit is contained in:
jean-pierre charras
2021-08-23 18:01:31 +02:00
parent 9f22baf109
commit 4ac2aa675a
4 changed files with 20 additions and 4 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ enum ESCAPE_CONTEXT
CTX_LIBID,
CTX_QUOTED_STR,
CTX_LINE,
CTX_FILENAME
CTX_FILENAME,
CTX_NO_SPACE // to replace spaces in names that do not accept spaces
};
/**