File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ SRC = mm2cpp.cpp \
9
9
OBJ += ../big-int/big-int$(LIBEXT ) \
10
10
../ansi-c/ansi-c$(LIBEXT ) \
11
11
../linking/linking$(LIBEXT ) \
12
+ ../langapi/langapi$(LIBEXT ) \
12
13
../util/util$(LIBEXT )
13
14
14
15
INCLUDES = -I ..
Original file line number Diff line number Diff line change 14
14
#include " xml.h"
15
15
#include " json.h"
16
16
#include " xml_expr.h"
17
+ #include " json_expr.h"
17
18
#include " cout_message.h"
18
19
#include " cmdline.h"
19
20
@@ -219,11 +220,9 @@ void ui_message_handlert::json_ui_msg(
219
220
220
221
json_objectt result;
221
222
222
- #if 0
223
223
if (location.is_not_nil () &&
224
224
!location.get_file ().empty ())
225
- result.new_element(xml(location));
226
- #endif
225
+ result[" sourceLocation" ] = json (location);
227
226
228
227
result[" messageType" ] = json_stringt (type);
229
228
result[" messageText" ] = json_stringt (msg1);
You can’t perform that action at this time.
0 commit comments