mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 01:06:54 +08:00
I initially tried to use the existing .clang-format file, but it does not match the code style (at least with clang-format 11) and the formatting is not consistent across files. Therefore, I decided to rewrite the .clang-format with some personal preferences. Used command find . -iname "*.hpp" -o -iname "*.cpp" | xargs clang-format -i -style=file
16 lines
286 B
C++
16 lines
286 B
C++
|
|
#ifndef CHAISCRIPT_PARSER_LIB
|
|
#define CHAISCRIPT_PARSER_LIB
|
|
|
|
#include <memory>
|
|
|
|
namespace chaiscript {
|
|
namespace parser {
|
|
class ChaiScript_Parser_Base;
|
|
}
|
|
} // namespace chaiscript
|
|
|
|
std::unique_ptr<chaiscript::parser::ChaiScript_Parser_Base> create_chaiscript_parser();
|
|
|
|
#endif
|