Skip to content

Commit 1416590

Browse files
committed
Fix C lexical grammar docs about string-literal
C string literal's delimiter is not a single quotation ('), but a double quotation (").
1 parent b0cb612 commit 1416590

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/c-language/summary-of-string-literals.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ms.assetid: d2693900-f4e2-4820-b7de-085d51827aee
66
# Summary of String Literals
77

88
*string-literal*:<br/>
9-
&nbsp;&nbsp;&nbsp;&nbsp;**'** *s-char-sequence*<sub>opt</sub> **'**<br/>
10-
&nbsp;&nbsp;&nbsp;&nbsp;**L'** *s-char-sequence*sub>opt</sub> **'**
9+
&nbsp;&nbsp;&nbsp;&nbsp;**"** *s-char-sequence*<sub>opt</sub> **"**<br/>
10+
&nbsp;&nbsp;&nbsp;&nbsp;**L"** *s-char-sequence*sub>opt</sub> **"**
1111

1212
*s-char-sequence*:<br/>
1313
&nbsp;&nbsp;&nbsp;&nbsp;*s-char*<br/>

0 commit comments

Comments
 (0)