Ticket #69 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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:1 Changed 2 years ago by niam

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 `.

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.