Next: , Previous: , Up: AT commands   [Contents][Index]


5.12.3 ‘@\’: Force a line break, then indent

The ‘@\’ command behaves like ‘@/’ (see AT/), except that it backspaces one notch after the line break. This usually has the effect of undoing the natural indentation that would have been inserted had a long line been spontaneously broken. One common case where the ‘@\’ command might be used would be to put the return type of a C function on a separate line:

int @\
main()
{}

It would be nice to have FWEAVE do that automatically. Unfortunately, the syntax of a function isn’t recognized until the opening braces are sensed; by that time, the declaration part of the statement has already been processed. This is one example of the fact that the FWEB processors are much less intelligent and sophisticated than language compilers. A clever (and simple) idea for getting around this kind of problem is lacking at this point.