Pelles C > Bug reports

@CatStr reporting POASM: fatal error: Internal error ('

(1/2) > >>

Vortex:
Hello,

In the code portion ( Poasm ) below, The CATSTR macro works as expected :


--- Code: ---        stackval SUBSTR strrev,1,remainder

        temp CATSTR <">,stackval,<">

        push temp

--- End code ---

Using the @CatStr macro to push "stackval" , I get the following error message :


--- Code: ---        push @CatStr(<">,stackval,<">)
--- End code ---


--- Code: ---POASM: fatal error: Internal error (').
--- End code ---

Is it possible to use @CatStr instead of CATSTR in my case?

Error reported by Pelles Macro Assembler, Version 10.00.0

Attached is an example project to reproduce the error.

Vortex:
Hello,

Pelles Macro Assembler Version 6.50.0 does not report any error message after the expression :


--- Code: ---push @CatStr(<">,stackval,<">)
--- End code ---

Pelle:
I can reproduce the problem. Not sure what it is, so I have no workaround for the moment. I will look at it...

Vortex:
Hi Pelle,

Poasm V12 reports the following error message :


--- Code: ---StrToStackDemo.asm(31): fatal error: Invalid use of '"'.
--- End code ---

No any problem with Poasm V11.

Tested withed attachment above , StringToStack1b.zip

Pelle:
I think this is also fixed by the following version:
http://www.smorgasbordet.com/pellesc/1200/poasm_12_00_1.zip

Navigation

[0] Message Index

[#] Next page

Go to full version