mirror of https://gitee.com/bigwinds/arangodb
moved scripts to utils
This commit is contained in:
parent
83b14f0707
commit
31dea7dee3
|
@ -2514,3 +2514,5 @@ TRI_json_t* TRI_JsonFile (TRI_memory_zone_t* zone, char const* path, char** erro
|
||||||
// outline-regexp: "^\\(/// @brief\\|/// {@inheritDoc}\\|/// @addtogroup\\|// --SECTION--\\|/// @\\}\\)"
|
// outline-regexp: "^\\(/// @brief\\|/// {@inheritDoc}\\|/// @addtogroup\\|// --SECTION--\\|/// @\\}\\)"
|
||||||
// End:
|
// End:
|
||||||
|
|
||||||
|
#define DUMMY_FUNC(a) dummy ## a
|
||||||
|
void DUMMY_FUNC(__FILE__) (yyconst char* msg , yyscan_t yyscanner) {yy_fatal_error(msg,yyscanner);}
|
||||||
|
|
|
@ -15,14 +15,14 @@ BUILT_SOURCES += $(BISON_FILES) $(BISONXX_FILES)
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
%.c: %.y
|
%.c: %.y
|
||||||
@top_srcdir@/config/bison-c.sh $(BISON) $@ $<
|
@top_srcdir@/utils/bison-c.sh $(BISON) $@ $<
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
### @brief BISON++
|
### @brief BISON++
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
%.cpp: %.yy
|
%.cpp: %.yy
|
||||||
@top_srcdir@/config/bison-c++.sh $(BISON) $@ $<
|
@top_srcdir@/utils/bison-c++.sh $(BISON) $@ $<
|
||||||
|
|
||||||
## -----------------------------------------------------------------------------
|
## -----------------------------------------------------------------------------
|
||||||
## --SECTION-- END-OF-FILE
|
## --SECTION-- END-OF-FILE
|
||||||
|
|
|
@ -15,14 +15,14 @@ BUILT_SOURCES += $(FLEX_FILES) $(FLEXXX_FILES)
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
%.c: %.l
|
%.c: %.l
|
||||||
@top_srcdir@/config/flex-c.sh $(LEX) $@ $<
|
@top_srcdir@/utils/flex-c.sh $(LEX) $@ $<
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
### @brief flex++
|
### @brief flex++
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
%.cpp: %.ll
|
%.cpp: %.ll
|
||||||
@top_srcdir@/config/flex-c++.sh $(LEX) $@ $<
|
@top_srcdir@/utils/flex-c++.sh $(LEX) $@ $<
|
||||||
|
|
||||||
## -----------------------------------------------------------------------------
|
## -----------------------------------------------------------------------------
|
||||||
## --SECTION-- END-OF-FILE
|
## --SECTION-- END-OF-FILE
|
||||||
|
|
|
@ -30,6 +30,9 @@ cat ${OUTPUT} \
|
||||||
| sed -e 's:register ::g' \
|
| sed -e 's:register ::g' \
|
||||||
> ${OUTPUT}.tmp
|
> ${OUTPUT}.tmp
|
||||||
|
|
||||||
|
echo "#define DUMMY_FUNC(a) dummy ## a" >> ${OUTPUT}.tmp
|
||||||
|
echo "void DUMMY_FUNC(__FILE__) (yyconst char* msg , yyscan_t yyscanner) {yy_fatal_error(msg,yyscanner);}" >> ${OUTPUT}.tmp
|
||||||
|
|
||||||
# give some information
|
# give some information
|
||||||
diff -u ${OUTPUT} ${OUTPUT}.tmp
|
diff -u ${OUTPUT} ${OUTPUT}.tmp
|
||||||
|
|
Loading…
Reference in New Issue