mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:57:46 +00:00
LibCpp: Evaluate function-like macro calls
This commit is contained in:
parent
8505fcb8ae
commit
f6c9071f0d
2 changed files with 35 additions and 3 deletions
|
@ -65,6 +65,7 @@ private:
|
|||
size_t end_token_index { 0 };
|
||||
};
|
||||
Optional<MacroCall> parse_macro_call(Vector<Token> const& tokens, size_t token_index);
|
||||
String evaluate_macro_call(MacroCall const&, Definition const&);
|
||||
|
||||
String m_filename;
|
||||
String m_program;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue