summaryrefslogtreecommitdiff
path: root/bpf_parser.y
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-05-12 18:16:02 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-05-12 18:16:02 +0200
commitb118a01871cfb26c0f537889da2a35c6b2ca7f3d (patch)
tree1007512844b482bd1c98814c52763103906acccf /bpf_parser.y
parentf232545c215022de5be5e0b37e0c7130962cc5d0 (diff)
bpfc: disable NLS in the parser
There is no point in having the parser show translated error messages while the rest of the program does only show them in English. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf_parser.y')
-rw-r--r--bpf_parser.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/bpf_parser.y b/bpf_parser.y
index 73ab099..4e50a94 100644
--- a/bpf_parser.y
+++ b/bpf_parser.y
@@ -38,9 +38,7 @@ static char *labels_k[BPF_MAXINSNS];
#define YYERROR_VERBOSE 0
#define YYDEBUG 0
-#define YYENABLE_NLS 1
#define YYLTYPE_IS_TRIVIAL 1
-#define ENABLE_NLS 1
extern FILE *yyin;
extern int yylex(void);