1
0
Fork 0

moved scripts to utils

This commit is contained in:
Frank Celler 2014-06-26 13:24:42 +02:00
parent 83b14f0707
commit 31dea7dee3
7 changed files with 9 additions and 4 deletions

View File

@ -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--\\|/// @\\}\\)"
// End:
#define DUMMY_FUNC(a) dummy ## a
void DUMMY_FUNC(__FILE__) (yyconst char* msg , yyscan_t yyscanner) {yy_fatal_error(msg,yyscanner);}

View File

@ -15,14 +15,14 @@ BUILT_SOURCES += $(BISON_FILES) $(BISONXX_FILES)
################################################################################
%.c: %.y
@top_srcdir@/config/bison-c.sh $(BISON) $@ $<
@top_srcdir@/utils/bison-c.sh $(BISON) $@ $<
################################################################################
### @brief BISON++
################################################################################
%.cpp: %.yy
@top_srcdir@/config/bison-c++.sh $(BISON) $@ $<
@top_srcdir@/utils/bison-c++.sh $(BISON) $@ $<
## -----------------------------------------------------------------------------
## --SECTION-- END-OF-FILE

View File

@ -15,14 +15,14 @@ BUILT_SOURCES += $(FLEX_FILES) $(FLEXXX_FILES)
################################################################################
%.c: %.l
@top_srcdir@/config/flex-c.sh $(LEX) $@ $<
@top_srcdir@/utils/flex-c.sh $(LEX) $@ $<
################################################################################
### @brief flex++
################################################################################
%.cpp: %.ll
@top_srcdir@/config/flex-c++.sh $(LEX) $@ $<
@top_srcdir@/utils/flex-c++.sh $(LEX) $@ $<
## -----------------------------------------------------------------------------
## --SECTION-- END-OF-FILE

View File

@ -30,6 +30,9 @@ cat ${OUTPUT} \
| sed -e 's:register ::g' \
> ${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
diff -u ${OUTPUT} ${OUTPUT}.tmp