Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



cgd
Sat Feb  8 15:50:45 PST 1997
Update of /cvsroot/src/usr.bin/m4
In directory netbsd1:/var/slash-tmp/cvs-serv2858

Modified Files:
        eval.c 
Log Message:
Simplify some push-back code (e.g. for left and right quotes) so that
    it uses pbstr() instead of doing the characters individually (in
    reverse order) with putback().
Fix dodiv() so that divert(<out-of-range stream>) doesn't cause "divnum" to
    return 0, but rather the stream number specified to divert().  Macros
    like PUSHDIVERT/POPDIVERT rely on this.  The new behaviour is compatible
    with vendor m4 implementations.


cgd
Sat Feb  8 15:54:52 PST 1997
Update of /cvsroot/src/usr.bin/m4
In directory netbsd1:/var/slash-tmp/cvs-serv3885

Modified Files:
        main.c 
Log Message:
handle quoted strings in quoted strings properly, when using multicharacter
quotes.  E.g. if left quote was "``" and right quote was "''", then
"``foo ``bar'' baz''" would yield "foo `bar' baz" when it should yield
"foo ``bar'' baz".




Home | Main Index | Thread Index | Old Index