http://d.puremagic.com/issues/show_bug.cgi?id=3827


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrov...@gmail.com


--- Comment #27 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-03-10 
17:56:16 PST ---
(In reply to comment #26)
> > enum PEGCode = grammarCode!(
> >      "Grammar <- S Definition+ EOI"
> >     ,"Definition <- RuleName Arrow Expression"
> >     ,"RuleName   <- Identifier>(ParamList?)"
> >     ,"Expression <- Sequence (OR Sequence)*"
> > );

Note that this is Philippe Sigaud's code. So you can him, and me to the list of
people affected by this.

I'm doing string processing in D on a day-to-day basis, and whenever I have a
list of strings I eventually end up shooting myself in the foot because of a
missing comma. It's very easy (at least for clumsy me) to make the mistake.
E.g. writing some headers to ignore:

string[] ignoredHeaders = [
    "foo.bar"  // todo: have to fix this later
    "foo.do",  // todo: later
];

When I have comments next to the strings it makes it easy to miss the missing
comma, especially if the strings are of a different length.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to