Next: , Previous: AT&, Up: AT commands


5.13 Pseudo (invisible) operators

Pseudo- or invisible operators are ignored by Ftangle and not printed by Fweave; however, they retain grammatical significance that helps out Fweave in its attempts to understand the syntax.

5.13.1 ‘@e’: Pseudo-expression

@e’ is an invisible expression (`pseudo-expression') (see Pseudo-operators). It is sometimes useful in situations where Fweave's pretty-printing has broken down because it didn't properly understand the language syntax. If, for example, Fweave failed to properly parse the C statement

     p = (int (*))q;

one might get things to work properly by saying

     p = (int (*@e))q;

In this particular case, one is patching up a deficiency (all right, a bug) in Fweave's “production rules.” (This particular bug may no longer exist.) However, there are other situations in which the use of ‘@e’ might be necessary. Consider, for example, the C macro definition

     #define A(x) = x

Here the replacement text of the macro is ‘= x’, which by itself is not a valid construction in C. When the ‘-1’ or ‘-2’ options are used, Fweave will report an “irreducible scrap sequence” in this situation (although it may typeset it correctly anyway). To eliminate the warning message, say instead

     #define A(x) @e = x

Now the fragment ‘@e = x’ is interpreted as a valid expression.