aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2011-02-07 22:42:38 +0100
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2011-02-09 00:12:57 +0100
commit32a682b88febf983420406a4ec5087d07761a8bc (patch)
treebf858a09960621b95560390109ab22bdf40b71f0 /tcc.h
parentc23400278ad7a1a44cb9b469c4635ea29cb12b25 (diff)
downloadtinycc-32a682b88febf983420406a4ec5087d07761a8bc.tar.gz
tinycc-32a682b88febf983420406a4ec5087d07761a8bc.tar.bz2
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.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 1 insertions, 1 deletions
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 */