1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

'#if 0' cleanup

This removes various blocks of uncommented experimental code that
was disabled using '#if 0' or '#if 1 ... #else' directives. It's
hard or impossible to figure out what the thoughts behind them
might have been, and we can really do without those distractions.
This commit is contained in:
Martijn Dekker 2020-08-30 03:59:12 +01:00
parent f8feed1bd2
commit 42301639d6
17 changed files with 4 additions and 227 deletions

View file

@ -812,9 +812,6 @@ static void copyto(register Mac_t *mp,int endch, int newquote)
if(n==S_COLON && mp->assign==2 && *cp=='~' && endch==0 && !mp->quote &&!mp->lit)
tilde = stktell(stkp)+(c+1);
else if(n==S_SLASH && mp->pattern==2)
#if 0
goto pattern;
#else
{
if(mp->quote || mp->lit)
goto pattern;
@ -827,7 +824,6 @@ static void copyto(register Mac_t *mp,int endch, int newquote)
sfwrite(stkp,first,cp-first);
first=cp;
}
#endif
break;
case S_DOT:
if(*cp=='.' && mp->subcopy==1)