mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-22 15:54:45 -08:00
Ed_
1076818250
Made debug for viewing whitespace in AST::is_equal with String::visualize_whitespace() Format stripping code is currently confined within parse_define() I plan to move it to its own function soon, I just want to make sure its finalized first. Other unvalidated content will need to have an extra check for preprocessed lines. Example: Function bodies can have a #define <identifier> <definition>. I cannot strip the last <new line> as it will break the semantic importance to distinguish that line. So it needs to be: <content before> <new line> <preprocessed line> <new line> <content after> In the content string that is minimally preserved |
||
---|---|---|
.. | ||
gen | ||
ast_case_macros.cpp | ||
ast_types.hpp | ||
ast.cpp | ||
ast.hpp | ||
header_end.hpp | ||
header_start.hpp | ||
inlines.hpp | ||
interface.cpp | ||
interface.hpp | ||
interface.parsing.cpp | ||
interface.untyped.cpp | ||
interface.upfront.cpp | ||
src_start.cpp | ||
static_data.cpp | ||
types.hpp |