-qdigraph

Category

Language element control

Pragma equivalent

#pragma options [no]digraph

Purpose

Enables recognition of digraph key combinations or keywords to represent characters not found on some keyboards.

Syntax

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

Defaults

Usage

A digraph is a keyword or combination of keys that lets you produce a character that is not available on all 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