summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/json/parser/parser.c1
-rw-r--r--ext/json/parser/prereq.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c
index cb91a2e559..11cd2900b6 100644
--- a/ext/json/parser/parser.c
+++ b/ext/json/parser/parser.c
@@ -1,5 +1,4 @@
/* This file is automatically generated from parser.rl by using ragel */
-
#line 1 "parser.rl"
#include "../fbuffer/fbuffer.h"
#include "parser.h"
diff --git a/ext/json/parser/prereq.mk b/ext/json/parser/prereq.mk
index 386999ba9d..04aeac914d 100644
--- a/ext/json/parser/prereq.mk
+++ b/ext/json/parser/prereq.mk
@@ -6,6 +6,6 @@ RAGEL = ragel
$(RAGEL) -G2 $<
$(BASERUBY) -pli -e '$$_.sub!(/[ \t]+$$/, "")' \
-e '$$_.sub!(/^static const int (JSON_.*=.*);$$/, "enum {\\1};")' \
- -e '$$header ||= $$_ = "/* This file is automatically generated from parser.rl by using ragel */\n" + $$_' $@
+ -e '$$header ||= $$_ = "/* This file is automatically generated from parser.rl by using ragel */" + $$_' $@
parser.c: