Ticket #69 (closed bug: fixed)
data::tpl::processor variable resolution is broken
| Reported by: | niam | Owned by: | niam |
|---|---|---|---|
| Priority: | high | Milestone: | 0.13.0 |
| Component: | Version: | ||
| Severity: | major | Keywords: | |
| Cc: |
Description
If the processor sees anything that begins with "$" it thinks that it's a variable.
For example in the <(print "$a= '")> statement the processor will try to resolve "a= '" variable.
Change History
comment:2 Changed 2 years ago by niam
- Status changed from new to closed
- Resolution set to fixed
(In [29124cfc09ab8e504e9ffafd826a3447b7ea3f7f]) {issue #69[fixed]} any block statements is treated as a variable(if it's assumed that it could be a case) only if it begins with '$'(spaces, tabs and new-line symbols are stripped out first)
Note: See
TracTickets for help on using
tickets.

To keep processor as simple as possible I assume some changes in variable resolution are needed.
It should resolve variable if it's not enclosed in '," or `.