--- capa/capa51/pProj/capaLexerDef.flex 1999/09/28 21:26:20 1.1.1.1 +++ capa/capa51/pProj/capaLexerDef.flex 1999/10/13 18:45:28 1.2 @@ -380,8 +380,8 @@ EndLine ([\r][\n]|[\n]) ^{Spaces}"/BEG" { LLDBUG_PRL1("[LET]"); Pcount = 0; init_funcstack(); BEGIN S_LET; RETURN(CAPA_LET); } ^{Spaces}"/VERB" { LLDBUG_PRL1("[VERBATIM]"); - Dynamic_buf = (char *)capa_malloc(sizeof(char),1); - Dynamic_buf_max = 1; + Dynamic_buf = (char *)capa_malloc(sizeof(char),10); + Dynamic_buf_max = 10; Dynamic_buf_cur = 0; Dynamic_buf[0] = '\0'; BEGIN S_VERB; @@ -1478,7 +1478,6 @@ void append_dynamic_buf(new_str) char *n if(new_str==NULL) return; len=strlen(new_str); -#define LEX_DBUG 1 #ifdef LEX_DBUG printf("before: len %d; Dynamic_buf_cur %d; Dynamic_buf_max %d\n", len,Dynamic_buf_cur,Dynamic_buf_max); @@ -1499,6 +1498,7 @@ void append_dynamic_buf(new_str) char *n #ifdef LEX_DBUG printf("after: len %d; Dynamic_buf_cur %d; Dynamic_buf_max %d\n", len,Dynamic_buf_cur,Dynamic_buf_max); + printf("Dyn_buf %s; added %s\n",Dynamic_buf,new_str); #endif /* LEX_DBUG */ }