[Issue 3827] automatic joining of adjacent strings is bad
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 10 17:31:31 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3827
--- Comment #26 from bearophile_hugs at eml.cc 2012-03-10 17:31:34 PST ---
An example of the problems this
avoids:http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.announce&article_id=22649
Andrej Mitrovic:
> I see you are not the only one who started writing string array
> literals like this:
>
> enum PEGCode = grammarCode!(
> "Grammar <- S Definition+ EOI"
> ,"Definition <- RuleName Arrow Expression"
> ,"RuleName <- Identifier>(ParamList?)"
> ,"Expression <- Sequence (OR Sequence)*"
> );
>
> IOW comma on the left side. I know it's not a style preference but
> actually a (unfortunate but needed) technique for avoiding bugs. :)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list