File tree Expand file tree Collapse file tree 5 files changed +30
-0
lines changed Expand file tree Collapse file tree 5 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
%{
6
6
7
+ #if defined _MSC_VER
8
+ #pragma warning(disable:4005)
9
+ // macro re-definition: flex conditonally defines INT32_MAX et al. and thus
10
+ // they are set before library headers get to define them
11
+ #endif
12
+
7
13
/*
8
14
* This scanner is based on:
9
15
*
Original file line number Diff line number Diff line change 5
5
6
6
%{
7
7
8
+ #if defined _MSC_VER
9
+ #pragma warning(disable:4005)
10
+ // macro re-definition: flex conditonally defines INT32_MAX et al. and thus
11
+ // they are set before library headers get to define them
12
+ #endif
13
+
8
14
#define PARSER assembler_parser
9
15
#define YYSTYPE unsigned
10
16
#undef ECHO
Original file line number Diff line number Diff line change 6
6
7
7
%{
8
8
9
+ #if defined _MSC_VER
10
+ #pragma warning(disable:4005)
11
+ // macro re-definition: flex conditonally defines INT32_MAX et al. and thus
12
+ // they are set before library headers get to define them
13
+ #endif
14
+
9
15
#include < util/expr.h>
10
16
11
17
#include < ansi-c/literals/convert_float_literal.h>
Original file line number Diff line number Diff line change 12
12
13
13
%{
14
14
15
+ #if defined _MSC_VER
16
+ #pragma warning(disable:4005)
17
+ // macro re-definition: flex conditonally defines INT32_MAX et al. and thus
18
+ // they are set before library headers get to define them
19
+ #endif
20
+
15
21
#define PARSER json_parser
16
22
17
23
#include " json_parser.h"
Original file line number Diff line number Diff line change 6
6
7
7
%{
8
8
9
+ #if defined _MSC_VER
10
+ #pragma warning(disable:4005)
11
+ // macro re-definition: flex conditonally defines INT32_MAX et al. and thus
12
+ // they are set before library headers get to define them
13
+ #endif
14
+
9
15
#include < cctype>
10
16
#include < cstring>
11
17
#include < cstdlib>
You can’t perform that action at this time.
0 commit comments