From 32a682b88febf983420406a4ec5087d07761a8bc Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Mon, 7 Feb 2011 22:42:38 +0100 Subject: Fix fct asm label: only valid for declaration - Fix function assembly label mechanism introduced in commit 9b09fc376e8c212a767c875e71ca003e3b9a0d2e to only accept alternative name for function declaration. - merge the code with the one introduced in commit 264a103610e3ee86b27b8cbb0e4ec81cd654d980. - Don't memorize token for asm label but directly the asm label. --- tcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index a3a9c78..441adac 100644 --- a/tcc.h +++ b/tcc.h @@ -219,7 +219,7 @@ typedef struct SValue { /* symbol management */ typedef struct Sym { int v; /* symbol token */ - int a; /* asm symbol token */ + char *asm_label; /* associated asm label */ long r; /* associated register */ union { long c; /* associated number */ -- cgit v1.3.1