lex.reg.c
/* set up to parse this string */
set up to parse this string
set up to parse this string
void _regScanString(char *s){
  int i;
  char *t=NULL;
  i = strlen(s);
  t = xcalloc(strlen(s)+SZ_LINE, sizeof(char));
  nowhite(s, t);
  if( (t[i-1] != ';') && (t[i-1] != '\n') ){
    strcat(t, "\n");
  }
  regions_scan_string(t);
  xfree(t);
}
void _regScanString ( char * s ) { int i ; char * t = NULL ; i = strlen ( s ) ; t = xcalloc ( strlen ( s ) + SZ_LINE , sizeof ( char ) ) ; nowhite ( s , t ) ; if ( ( t [ i - 1 ] != ' ' ) && ( t [ i - 1 ] != ' \n ' ) ) { strcat ( t , " \n " ) ; } regions_scan_string ( t ) ; xfree ( t ) ; }
set up to parse this string
set up to parse this string
/* make sure there is an explicit delim at end so we are done before
     lex finds EOF -- otherwise panda shapes don't get processed
     also, we extend the buffer because flex has problems in filt_init_buffer 
     if its smaller than sizeof(FILE *) */