[ragel-users] [PATCH] Suppress #line output for Ruby code generation

David Yip yipdw at member.fsf.org
Fri Feb 4 06:51:29 UTC 2011


Hi Adrian,

Thanks for the link to your Redmine instance; I'll keep an eye on that.

- David

On Thu, Feb 3, 2011 at 7:43 PM, Adrian Thurston <thurston at complang.org> wrote:
> Hi David,
>
> Yes this is the right place. Thank you for your submission. The mailing list
> has always been low volume and special purpose lists aren't really
> warranted.
>
> The issue is now tracked in the new redmine instance I've started using for
> my open source projects.
>
> http://www.complang.org/redmine/issues/155
>
> Regards,
>  Adrian
>
> On 11-02-03 01:41 PM, David Yip wrote:
>>
>> Hello all,
>>
>> Not sure if this is the right place to send patches, but I didn't see
>> anything that looked more appropriate on
>> http://www.complang.org/ragel/.  (Of course, if I missed it, let me
>> know.)
>>
>> The attached patch contains three changes:
>>
>> (1) Implementation of the -L option for Ruby code generation by
>> suppressing all "# line ..." output.  This isn't the same thing as
>> what the C/D code generator does, but IMO is the closest
>> interpretation for Ruby code.  The patch is modelled after the
>> existing behavior for C/D code generation.
>> (2) A change to the option listing to signal Ruby as a target language
>> for which -L is available.
>> (3) A change that corrects a typo in the option listing ("direcives"
>> ->  "directives").
>>
>> The patch was generated using git diff, but should apply cleanly with
>> e.g. GNU patch.
>>
>> Suggestions and comments welcome.
>>
>> Thanks,
>>
>> - David
>>
>>
>>
>> _______________________________________________
>> ragel-users mailing list
>> ragel-users at complang.org
>> http://www.complang.org/mailman/listinfo/ragel-users
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
>

_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users


More information about the ragel-users mailing list