flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > (fasmg) invalid identifier |
Author |
|
Tomasz Grysztar 07 Apr 2017, 10:23
In fasmg "." is no longer a part of label, it is a special character that here indicates that symbol is going to be defined in the "hello_asm" namespace. Because it is not allowed to have a symbol with name "1", this results in error. This is something that is a consequence of fasmg having namespaces and it cannot be easily altered in this architecture.
|
|||
07 Apr 2017, 10:23 |
|
Tomasz Grysztar 07 Apr 2017, 18:23
As a side note: even in fasm 1 such labels were a bit non-standard (I would personally avoid them), as before version 1.52 a symbol like ".1" was interpreted as a floating-point number.
|
|||
07 Apr 2017, 18:23 |
|
Tomasz Grysztar 03 Sep 2017, 20:10
With the new releases of fasmg the identifier requirements are relaxed, numeric names are now allowed after the dot operator. The above source now assembles with no changes.
I'm sorry this took so long, I needed to re-consider the idea several times before I realized that this shouldn't hurt anything. |
|||
03 Sep 2017, 20:10 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.