-qdigraph

Category

Language element control

Pragma equivalent

#pragma options [no]digraph

Purpose

Enables recognition of digraph key combinations to represent characters that are not found on some keyboards. Digraph key combinations include <:, <%, and so on.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-digraph---.   
>>- -q--+-nodigraph-+------------------------------------------><

Defaults

when the extc89 | extended | extc99 | stdc99 language level is in effect. -qnodigraph for all other language levels.

Usage

A digraph is a keyword or combination of keys that lets you produce a character that is not available on some keyboards. For details on digraphs, see Digraph characters .

Predefined macros

__DIGRAPHS__ is predefined to 1 when -qdigraph is in effect; otherwise it is not defined.

Examples

To disable digraph character sequences when compiling your program, enter:

xlc myprogram.c -qnodigraph

Related information