diff options
author | dos-reis <gdr@axiomatics.org> | 2009-02-28 01:11:56 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-02-28 01:11:56 +0000 |
commit | 78fa2724e63b1a8784aa058e12b45922091bdd70 (patch) | |
tree | cbf6fa54b1a10c5d44585a3c38a25a54ab3b8358 /src/boot | |
parent | a6352a4428911afca91d6e672dc540146c99d415 (diff) | |
download | open-axiom-78fa2724e63b1a8784aa058e12b45922091bdd70.tar.gz |
* lisp/core.lisp.in ($ECLVersionNumber): New.
* boot/ast.boot (genECLnativeTranslation): Use it.
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/ast.boot | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/boot/ast.boot b/src/boot/ast.boot index da023938..270b1221 100644 --- a/src/boot/ast.boot +++ b/src/boot/ast.boot @@ -1,6 +1,6 @@ -- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd. -- All rights reserved. --- Copyright (C) 2007-2008, Gabriel Dos Reis. +-- Copyright (C) 2007-2009, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -1424,7 +1424,10 @@ genECLnativeTranslation(op,s,t,op') == isSimpleNativeType x => '"" [.,[c,y]] := x c = "buffer" => - y = "char" or y = "byte" => '"->vector.self.ch" + y = "char" or y = "byte" => + AxiomCore::$ECLVersionNumber < 90100 => '"->vector.self.ch" + y = "char" => '"->vector.self.i8" + '"->vector.self.b8" y = "int" => '"->vector.self.fix" y = "float" => '"->vector.self.sf" y = "double" => '"->vector.self.df" |