Progress on strip_formatting function, support for multi-dimentional array variables and typenames.

strip_formatting suffers from some edge failure with what looks to be escaped character literals (not entirely sure).

I've decided to not remove formatting from unvalidated function bodies since I plan to support parsing its content properly.
However expression values for a statement will fail to have their formatting removed with this.

Since I don't plan to parse those anytime soon, I'll have to fix any edge cases for those at least..
This commit is contained in:
2023-09-06 00:30:34 -04:00
parent 2200bcde9a
commit f1fb75cc1c
3 changed files with 345 additions and 228 deletions

View File

@ -26,7 +26,9 @@
"ratio": "cpp",
"xstring": "cpp",
"functional": "cpp",
"vector": "cpp"
"vector": "cpp",
"list": "cpp",
"xhash": "cpp"
},
"C_Cpp.intelliSenseEngineFallback": "disabled",
"mesonbuild.configureOnOpen": true,