File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ class json_symtab_languaget : public languaget
36
36
UNIMPLEMENTED;
37
37
}
38
38
39
+ std::string id () const override
40
+ {
41
+ return " json_symtab" ;
42
+ }
43
+ std::string description () const override
44
+ {
45
+ return " JSON symbol table" ;
46
+ }
47
+
39
48
std::set<std::string> extensions () const override
40
49
{
41
50
return {" json_symtab" };
Original file line number Diff line number Diff line change @@ -125,10 +125,9 @@ class languaget:public messaget
125
125
126
126
// language id / description
127
127
128
- virtual std::string id () const { return " " ; }
129
- virtual std::string description () const { return " " ; }
130
- virtual std::set<std::string> extensions () const
131
- { return std::set<std::string>(); }
128
+ virtual std::string id () const = 0;
129
+ virtual std::string description () const = 0;
130
+ virtual std::set<std::string> extensions () const = 0;
132
131
133
132
// show parse tree
134
133
You can’t perform that action at this time.
0 commit comments