Skip to content

Commit 42bc2dd

Browse files
author
roudoudou
committed
new directive FREEQUOTES (to skip command line option)
1 parent 07d5d07 commit 42bc2dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rasm.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,7 @@ struct s_macro_position {
722722
struct s_macro_fast {
723723
char *mnemo;
724724
int crc;
725+
int len;
725726
};
726727

727728
struct s_math_keyword {
@@ -25104,6 +25105,11 @@ if (!idx) printf("[%s]\n",listing[l].listing);
2510425105
}
2510525106
break;
2510625107

25108+
case 'F': // freequotes
25109+
if (ival==10 && strcmp(bval,"FREEQUOTES")==0) {
25110+
ae->freequote=1;
25111+
}
25112+
break;
2510725113
case 'R':
2510825114
if (ival==4 && strcmp(bval,"REND")==0) {
2510925115
/* retrouver la structure repeat_index correspondant a l'ouverture */
@@ -25408,6 +25414,7 @@ printf("macro trigger w=[%s]\n",curw.w);
2540825414
if (macro_trigger=='M') {
2540925415
curmacrofast.mnemo=curw.w;
2541025416
curmacrofast.crc=GetCRC(curw.w);
25417+
curmacrofast.len=curw.len;
2541125418
ObjectArrayAddDynamicValueConcat((void**)&MacroFast,&idxmacrofast,&maxmacrofast,&curmacrofast,sizeof(struct s_macro_fast));
2541225419
}
2541325420
macro_trigger=0;

0 commit comments

Comments
 (0)