[PD] curlies dropped

Paul Mathieu Brossier piem at altern.org
Sun Sep 8 13:40:11 CEST 2002


On Saturday 07 September 2002 1:30 am, Mathieu Bouchard wrote:
> {: dropped
> }: dropped
\: dropped as well

$ grep -nC3 \'{\' pd/src/*c

cf g_editor.c

    if (keynum == '\\' || keynum == '{' || keynum == '}')
    {
    	post("%c: dropped", (int)keynum);
	return;
    }

> why is it so?

it looks like tk related since in t_tkcmd.c you'll find the lines

	    	if (c == '}' && brace) brace--;
	    	else if (c == '{') brace++;
	    	else if (!brace && c == '\n' && lastc != '\\') lastcr = bp;
	    	lastc = c;
	    	bp++;

 
regards, paul




More information about the Pd-list mailing list