Page MenuHomeFeedback Tracker

Escaped double quotes in string will lead to CParser error
Assigned, UrgentPublic

Description

I tried to get an empty string for my Discord webhook and noticed, that this line seems to confuse the CParser:

string content = "\"\"";

When I try to compile, it gives me this error:
CParser: quoted string not closed on line 80, ...
when I do

string content = "\" \"";

It works without any problems

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

LBmaster created this task.Mar 9 2021, 12:07 PM
LBmaster updated the task description. (Show Details)
Geez changed the task status from New to Assigned.Mar 9 2021, 12:19 PM
This comment was removed by Geez.
This comment was removed by Geez.
Xairo added a subscriber: Xairo.Jun 18 2021, 1:05 AM
This comment was removed by Geez.
Geez added a subscriber: Geez.Dec 9 2021, 10:07 AM
This comment was removed by Geez.