Source-Changes archive

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

CVS commit: othersrc/external/historical/eawk



Module Name:    othersrc
Committed By:   agc
Date:           Thu Sep  1 05:07:13 UTC 2011

Modified Files:
        othersrc/external/historical/eawk/dist: awkgram.y lex.c proctab.c
            proto.h run.c
        othersrc/external/historical/eawk/eawk: Makefile expected

Log Message:
add bit arithmetic operations to eawk (implementation based on the gawk
man page). this provides:

        and(x, y)       (in C, x & y)
        or(x, y)        (in C, x | y)
        xor(x, y)       (in C, x ^ y)
        lshift(x, n)    (in C, x << n)
        rshift(x, n)    (in C, x >> n)
        compl(x)        (in C, ~x)

operations, with exactly the same calling conventions as gawk.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/historical/eawk/dist/awkgram.y \
    othersrc/external/historical/eawk/dist/lex.c \
    othersrc/external/historical/eawk/dist/proctab.c \
    othersrc/external/historical/eawk/dist/proto.h
cvs rdiff -u -r1.2 -r1.3 othersrc/external/historical/eawk/dist/run.c
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/historical/eawk/eawk/Makefile \
    othersrc/external/historical/eawk/eawk/expected

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index