File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979 {
8080 "label" : " format" ,
8181 "type" : " shell" ,
82- "command" : " make apply-format" ,
82+ "command" : " make format" ,
83+ "problemMatcher" : [],
84+ "group" : " build"
85+ },
86+ {
87+ "label" : " lint" ,
88+ "type" : " shell" ,
89+ "command" : " make config=lint && make config=lint test" ,
8390 "problemMatcher" : [],
8491 "group" : " build"
8592 }
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ forest tml::read(const papki::file& fi)
7777 return std::move (listener.cur_forest );
7878}
7979
80- forest tml::read (const std::string& str)
80+ forest tml::read (std::string_view str)
8181{
8282 const papki::span_file fi (to_uint8_t (utki::make_span (str)));
8383
Original file line number Diff line number Diff line change @@ -203,14 +203,18 @@ using tree = utki::tree<leaf>;
203203using forest = tree::container_type;
204204
205205forest read (const papki::file& fi);
206- forest read (const std::string& str);
206+ forest read (std::string_view str);
207207
208208enum class formatting {
209209 normal,
210210 minimal
211211};
212212
213- void write (const forest& wood, papki::file& fi, formatting fmt = formatting::normal);
213+ void write (
214+ const forest& wood, //
215+ papki::file& fi,
216+ formatting fmt = formatting::normal
217+ );
214218
215219std::string to_string (const forest& f);
216220
You can’t perform that action at this time.
0 commit comments