Annotation of 43BSDReno/share/doc/ps1/15.yacc/ssd, revision 1.1

1.1     ! root        1: .\"    @(#)ssd 6.1 (Berkeley) 5/8/86
        !             2: .\"
        !             3: .SH
        !             4: Appendix D: Old Features Supported but not Encouraged
        !             5: .PP
        !             6: This Appendix mentions synonyms and features which are supported for historical
        !             7: continuity, but, for various reasons, are not encouraged.
        !             8: .IP 1.
        !             9: Literals may also be delimited by double quotes ``"''.
        !            10: .IP 2.
        !            11: Literals may be more than one character long.
        !            12: If all the characters are alphabetic, numeric, or \_, the type number of the literal is defined,
        !            13: just as if the literal did not have the quotes around it.
        !            14: Otherwise, it is difficult to find the value for such literals.
        !            15: .IP
        !            16: The use of multi-character literals is likely to mislead those unfamiliar with
        !            17: Yacc, since it suggests that Yacc is doing a job which must be actually done by the lexical analyzer.
        !            18: .IP 3.
        !            19: Most places where % is legal, backslash ``\e'' may be used.
        !            20: In particular, \e\e is the same as %%, \eleft the same as %left, etc.
        !            21: .IP 4.
        !            22: There are a number of other synonyms:
        !            23: .DS
        !            24: %< is the same as %left
        !            25: %> is the same as %right
        !            26: %binary and %2 are the same as %nonassoc
        !            27: %0 and %term are the same as %token
        !            28: %= is the same as %prec
        !            29: .DE
        !            30: .IP 5.
        !            31: Actions may also have the form
        !            32: .DS
        !            33: ={ . . . }
        !            34: .DE
        !            35: and the curly braces can be dropped if the action is a
        !            36: single C statement.
        !            37: .IP 6.
        !            38: C code between %{ and %} used to be permitted at the
        !            39: head of the rules section, as well as in the
        !            40: declaration section.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.