Les constantes

R$_{7}$constante :
$\Rightarrow$ constante-flottante
$\Rightarrow$ constante-entière
$\Rightarrow$ constante-d-énumération
$\Rightarrow$ constante-caractère

R$_{8}$constante-flottante :
$\Rightarrow$ partie-fractionnaire partie-exposant$_{option}$ suffixe-flottant$_{option}$
$\Rightarrow$ séquence-de-chiffres partie-exposant suffixe-flottant$_{option}$

R$_{9}$partie-fractionnaire :
$\Rightarrow$ séquence-de-chiffres$_{option}$ . séquence-de-chiffres
$\Rightarrow$ séquence-de-chiffres .

R$_{10}$partie-exposant :
$\Rightarrow$ e signe$_{option}$ séquence-de-chiffres
$\Rightarrow$ E signe$_{option}$ séquence-de-chiffres

R$_{11}$signe : un parmi
+ -

R$_{12}$séquence-de-chiffres :
$\Rightarrow$ chiffre
$\Rightarrow$ séquence-de-chiffres chiffre

R$_{13}$suffixe-flottant : un parmi
f l F L

R$_{14}$constante-entière :
$\Rightarrow$ constante-décimale suffixe-entier$_{option}$
$\Rightarrow$ constante-octale suffixe-entier$_{option}$
$\Rightarrow$ constante-hexadécimale suffixe-entier$_{option}$

R$_{15}$constante-décimale :
$\Rightarrow$ chiffre-non-nul
$\Rightarrow$ constante-décimale chiffre

R$_{16}$constante-octale :
$\Rightarrow$ 0
$\Rightarrow$ constante-octale chiffre-octal

R$_{17}$constante-hexadécimale :
$\Rightarrow$ 0x chiffre-hexadécimal
$\Rightarrow$ 0X chiffre-hexadécimal
$\Rightarrow$ constante-hexadécimale chiffre-hexadécimal

R$_{18}$chiffre-non-nul : un parmi
1 2 3 4 5 6 7 8 9

R$_{19}$chiffre-octal : un parmi
0 1 2 3 4 5 6 7

R$_{20}$chiffre-hexadécimal : un parmi
0 1 2 3 4 5 6 7 8 9
a b c d e f A B C D E F

R$_{21}$suffixe-entier :
$\Rightarrow$ suffixe-non-signé suffixe-long$_{option}$
$\Rightarrow$ suffixe-long suffixe-non-signé$_{option}$

R$_{22}$suffixe-non-signé : un parmi
u U

R$_{23}$suffixe-long : un parmi
l L

R$_{24}$constante-d-énumération :
$\Rightarrow$ identificateur

R$_{25}$constante-caractère :
$\Rightarrow$ ' séquence-de-caractères-c '
$\Rightarrow$ L' séquence-de-caractères-c '

R$_{26}$séquence-de-caractères-c :
$\Rightarrow$ caractère-c
$\Rightarrow$ séquence-de-caractères-c caractère-c

R$_{27}$caractère-c :
$\Rightarrow$ n'importe quel membre du jeu de caractères source sauf le quote (')
le backslash (\) ou le newline
$\Rightarrow$ séquence-d-échappement

R$_{28}$séquence-d-échappement :
$\Rightarrow$ séquence-d-échappement-simple
$\Rightarrow$ séquence-d-échappement-octale
$\Rightarrow$ séquence-d-échappement-hexadécimale

R$_{29}$séquence-d-échappement-simple : un parmi
\' \" \? \\
\a \b \f \n \r \t \v

R$_{30}$séquence-d-échappement-octale :
$\Rightarrow$ \ chiffre-octal
$\Rightarrow$ \ chiffre-octal chiffre-octal
$\Rightarrow$ \ chiffre-octal chiffre-octal chiffre-octal

R$_{31}$séquence-d-échappement-hexadécimale :
$\Rightarrow$ \x chiffre-hexadécimal
$\Rightarrow$ séquence-d-échappement-hexadécimale chiffre-hexadécimal

Matthieu Moy 2017-02-08