Hello,
This patch adds missing comma diagnostics to initializer lists.
I'm attaching
the .diff (git),
an input .c
and the compilation output .out
Let me know if there are any required changes.
Regards,
Zaid
zaid.al.khish...@gmail.com
(Note, I tried subscribing to cfe-commits but it said the
FYI:
Seems like my confirmation string was expired.
-- Forwarded message --
From: Zaid Alkhishman
Date: Sat, Apr 29, 2017 at 11:44 PM
Subject: Missing comma diagnostics patch
To: cfe-commits@lists.llvm.org
Hello,
This patch adds missing comma diagnostics to initializer lists.
This is my first patch. It's targeted at the parser/diagnostics.
The goal of the patch is to anticipate missing commas in initializer lists
and report them appropriately as errors, instead of the current "expected
'}' to match '}'" errors.
In summary, It detects missing commas only when successfu