sleyzerzon / soar

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

incorrect parsing of dot notation and numeric attributes #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When Soar sources this rule:

sp {test1
   (state <s> ^a.1234 <a>)
-->
}

it is reinterpreted as

sp {test1
   (state <s> ^a 0.1234 ^a <a>)
    -->

}

which seems wrong to me. If the sourced rule is changed to

sp {test1
   (state <s> ^a.|1234| <a>)
-->
}

then the result is as expected.

Original issue reported on code.google.com by joseph...@gmail.com on 11 Jan 2011 at 5:20

Attachments: