1
Fork 0
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:
Itamar 2021-08-13 12:49:06 +03:00 committed by Andreas Kling
parent 8505fcb8ae
commit f6c9071f0d
2 changed files with 35 additions and 3 deletions

View file

@ -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;