aboutsummaryrefslogtreecommitdiff
path: root/src/boot/ast.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/ast.boot')
-rw-r--r--src/boot/ast.boot7
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"