07.03.2016 16:26, Dimitry Sibiryakov пишет: > Hello, All. > > Can someone explain what file types.y generated by parse.bat is for? > I see that it is deleted right after parser generation and can't find how > it is used > anywhere. >
YACC requires all %types declaration to be put together in specific place in a file. To make parse.y better human-readable (and writeable) we put them before the node which has that type and before calling btyacc collect them in types.y file and include it into y.y file (one more temporal file in this game). The fact that file is deleted does not matter and is OS specific - in posix build types.y and y.y permanently stay in gen directory. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel