npalix / rathaxes

Automatically exported from code.google.com/p/rathaxes
1 stars 0 forks source link

Rathaxes variable expansion next to an enum value suppress the enum value #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think this is much easier to understand with an example:

I have a configuration named `e1000::rx_buffer_len' defined in my .rtx

I my .blt I would like to use it to generate the name of an enum field:

E1000_RCTL_BSIZE_${config.rx_buffer_len}

But this generate only ${config.rx_buffer_len} (i.e: E1000_RCTL_BSIZE_ is not 
output).

Here is my example in the code:

http://code.google.com/p/rathaxes/source/browse/rathaxes/samples/e1000/e1000.blt
?spec=svn675aa6c230476368c195b739218a4f18c2028325&r=675aa6c230476368c195b739218a
4f18c2028325#723

I guess this doesn't only apply to enum values, also maybe I shouldn't do this?

Original issue reported on code.google.com by louis.op...@dotcloud.com on 20 May 2012 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by kalessin...@gmail.com on 20 May 2012 at 8:22

GoogleCodeExporter commented 9 years ago

Original comment by kalessin...@gmail.com on 20 May 2012 at 8:23

GoogleCodeExporter commented 9 years ago

Original comment by dav.pineau@gmail.com on 22 Sep 2012 at 1:15

GoogleCodeExporter commented 9 years ago
fixed with rev:c5a25d8071d6

Original comment by dav.pineau@gmail.com on 22 Sep 2012 at 2:21