mirror of
https://github.com/frida/tinycc
synced 2025-02-24 19:24:30 +03:00
Revert "tccpp: Allow local labels to start with a dot"
This reverts commit f740485a5ab2ecef741bf1161b9feeea9c18cac0. It breaks access to structure elements starting with L
This commit is contained in:
parent
8eb86ab78d
commit
6eac6b7254
5
tccasm.c
5
tccasm.c
@ -761,11 +761,8 @@ static int tcc_assemble_internal(TCCState *s1, int do_preprocess)
|
||||
opcode = tok;
|
||||
next();
|
||||
if (tok == ':') {
|
||||
char * label = get_tok_str(opcode, NULL);
|
||||
|
||||
/* new label */
|
||||
asm_new_label(s1, opcode,
|
||||
(label && label[0] == '.' && label[1] == 'L') ? 1 : 0);
|
||||
asm_new_label(s1, opcode, 0);
|
||||
next();
|
||||
goto redo;
|
||||
} else if (tok == '=') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user