summaryrefslogtreecommitdiffstats
path: root/mpi/mpi.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-21 03:31:45 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-21 03:31:45 -0700
commitb097fd7358433b172f903f619ca9de83e90aee7a (patch)
tree85507cb1d398ab7a02183baeebc6fa4b71431692 /mpi/mpi.h
parent61d285d56afcc2bb8ff690eb212930927ba14471 (diff)
downloadtxr-b097fd7358433b172f903f619ca9de83e90aee7a.tar.gz
txr-b097fd7358433b172f903f619ca9de83e90aee7a.tar.bz2
txr-b097fd7358433b172f903f619ca9de83e90aee7a.zip
awk macro: streamline field splitting.
* share/txr/awk.tl (sys:awk-state rec-to-f): Check for empty record only in the fs case; it's not necessary when tokenizing with ft. Check (not self.kfs) first, since it's the common case. Handle default case (no fs or ft) using tok-str using the regex #/[^ \t\n]+/, which requires no trim-str and no empty record check.
Diffstat (limited to 'mpi/mpi.h')
0 files changed, 0 insertions, 0 deletions