Closed JoJoDeveloping closed 2 years ago
According to 6.4.4.4, we have
character-constant: ' c-char-sequence '
'
c-char-sequence: c-char c-char-sequence c-char
However, the lexer currently accepts '' as an empty char constant.
''
Thanks, you're right.
Fixed in 545e2df.
According to 6.4.4.4, we have
character-constant:
'
c-char-sequence'
c-char-sequence: c-char c-char-sequence c-char
However, the lexer currently accepts
''
as an empty char constant.