X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fparse-scm.hh;h=3e3f956634528b336abf93aba06db95d881f01a8;hb=23873da93c5bc884d2c289000be62a81b24b735d;hp=2939bc2f5c228702476732a828343257e8c586c9;hpb=a276a19dc6bd57832db3107f2f2cbb04cb4677b6;p=lilypond.git diff --git a/lily/include/parse-scm.hh b/lily/include/parse-scm.hh index 2939bc2f5c..3e3f956634 100644 --- a/lily/include/parse-scm.hh +++ b/lily/include/parse-scm.hh @@ -21,10 +21,18 @@ struct Parse_start int nchars; Input start_location_; bool safe_; + Lily_parser *parser_; + + Parse_start() { + str = 0; + nchars = 0; + safe_ = false; + parser_ = 0; + } }; SCM catch_protected_parse_body (void *); SCM protected_ly_parse_scm (Parse_start *, bool); -SCM ly_parse_scm (char const *, int *, Input, bool); +SCM ly_parse_scm (char const *, int *, Input, bool, Lily_parser *); #endif /* PARSE_SCM_HH */