aboutsummaryrefslogtreecommitdiff
path: root/src/boot/ast.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-06-20 14:08:58 +0000
committerdos-reis <gdr@axiomatics.org>2013-06-20 14:08:58 +0000
commit1102a65aec0ee0acf7f93ef3c1d780399ac479b7 (patch)
tree356433094e9a874e6c927ab4dbcf1852fb1d02cd /src/boot/ast.boot
parentb0cf190c03229e5f09284c80b26c0b8a1feafba6 (diff)
downloadopen-axiom-1102a65aec0ee0acf7f93ef3c1d780399ac479b7.tar.gz
Allow inerts in Boot.
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 14259ebd..f3f2b12c 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-2012, Gabriel Dos Reis.
+-- Copyright (C) 2007-2013, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -811,8 +811,11 @@ bfHas(expr,prop) ==
bfKeyArg(k,x) ==
['%Key,k,x]
+bfInert x ==
+ makeSymbol(stringUpcase x,'"KEYWORD")
+
lispKey k ==
- makeSymbol(stringUpcase symbolName k,'"KEYWORD")
+ bfInert symbolName k
bfExpandKeys l ==
args := nil