flex: User Code Section

 
 5.3 Format of the User Code Section
 ===================================
 
 The user code section is simply copied to 'lex.yy.c' verbatim.  It is
 used for companion routines which call or are called by the scanner.
 The presence of this section is optional; if it is missing, the second
 '%%' in the input file may be skipped, too.