[With Patch] Re: documentation anomalies

BCS BCS at pathlink.com
Wed Mar 19 16:16:48 PDT 2008


BCS wrote:
> 
> If these were fixed I think I can programmatically extract the grammar. 
> I'll see if I can put together a patch for the sources in dsource/phobos
> 
> 

attached is the patch... Er... 3 patches:

typo_docs.patch has mostly simple edits adding ':' in a few places and 
what not

opts.patch moves optional parts of NewAnonClassExpression into a sub rule

and "gname.patch" replaces the $(I ) macro with the $(GNAME ) macro

However, because I wasn't thinking well at the time "gname.patch" also 
has all of the other 2 patches and might even have the another edit (I 
don't remember)

with the patches I can strip out the D grammar from the .html doc using sed.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo_docs.patch
Url: http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20080319/2db2257c/attachment-0003.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gname.patch
Url: http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20080319/2db2257c/attachment-0004.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opts.patch
Url: http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20080319/2db2257c/attachment-0005.txt 


More information about the Digitalmars-d-bugs mailing list