mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-14 07:39:37 +00:00
Extension .ascii ^/.../ conflicts with .ascii ^...^
so I removed it.
This commit is contained in:
parent
0fba6eea33
commit
e148471a19
@ -1122,11 +1122,10 @@ static int assemble(
|
||||
case P_ASCIZ:
|
||||
case P_ASCII:
|
||||
{
|
||||
EX_TREE *value;
|
||||
|
||||
do {
|
||||
cp = skipwhite(cp);
|
||||
if (*cp == '<' || *cp == '^') {
|
||||
if (*cp == '<') {
|
||||
EX_TREE *value;
|
||||
/* A byte value */
|
||||
value = parse_unary_expr(cp, 0);
|
||||
cp = value->cp;
|
||||
|
||||
@ -43,7 +43,10 @@ test-asciz.mac:20: ***ERROR Invalid expression
|
||||
test-asciz.mac:20: ***ERROR Invalid expression
|
||||
20 000076 000000 000000 000000 .asciz :###: ; syntax error: colon not allowed
|
||||
000104 000000
|
||||
20
|
||||
21 000106 043 043 043 .asciz ^###^ ; previous versions of this macro11
|
||||
000111 000
|
||||
22 ; used ^/.../ quoting as an extension; however this should be ^...^.
|
||||
22
|
||||
|
||||
|
||||
Symbol table
|
||||
@ -54,4 +57,4 @@ Symbol table
|
||||
Program sections:
|
||||
|
||||
. ABS. 000000 000 (RW,I,GBL,ABS,OVR,NOSAV)
|
||||
000106 001 (RW,I,LCL,REL,CON,NOSAV)
|
||||
000112 001 (RW,I,LCL,REL,CON,NOSAV)
|
||||
|
||||
@ -18,3 +18,5 @@ SOH = 1
|
||||
.asciz =###= ; syntax error: assignment
|
||||
.asciz :SOH: ; syntax error: colon not allowed
|
||||
.asciz :###: ; syntax error: colon not allowed
|
||||
.asciz ^###^ ; previous versions of this macro11
|
||||
; used ^/.../ quoting as an extension; however this should be ^...^.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user