From 0f612f581a6d58a4d3ceed0ade26e04681b32e13 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Sun, 21 Aug 2022 13:01:37 -0700 Subject: Boot parser: Remove useless AST functions (#17) A couple of the Boot AST building functions are identity functions. Remove to reduce obfuscation. --- src/boot/strap/tokens.clisp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/boot/strap/tokens.clisp') diff --git a/src/boot/strap/tokens.clisp b/src/boot/strap/tokens.clisp index 7aae98ae..20f8f7e4 100644 --- a/src/boot/strap/tokens.clisp +++ b/src/boot/strap/tokens.clisp @@ -84,10 +84,10 @@ (LET* (|s|) (COND ((SETQ |s| - (WITH-HASH-TABLE-ITERATOR (#1=#:G392 |shoeKeyTable|) + (WITH-HASH-TABLE-ITERATOR (#1=#:G369 |shoeKeyTable|) (LET ((|bfVar#1| NIL)) (LOOP - (MULTIPLE-VALUE-BIND (#2=#:G393 |k| |v|) + (MULTIPLE-VALUE-BIND (#2=#:G370 |k| |v|) (#1#) (COND ((NOT #2#) (RETURN |bfVar#1|)) (T @@ -138,9 +138,9 @@ (COND ((> |i| 255) (RETURN NIL)) (T (SETF (ELT |a| |i|) |b|))) (SETQ |i| (+ |i| 1)))) |a|)) - (WITH-HASH-TABLE-ITERATOR (#1=#:G394 |shoeKeyTable|) + (WITH-HASH-TABLE-ITERATOR (#1=#:G371 |shoeKeyTable|) (LOOP - (MULTIPLE-VALUE-BIND (#2=#:G395 |s| #:G396) + (MULTIPLE-VALUE-BIND (#2=#:G372 |s| #:G373) (#1#) (COND ((NOT #2#) (RETURN NIL)) (T (|shoeInsert| |s| |d|)))))) |d|))) @@ -154,9 +154,9 @@ (LET ((|i| 0)) (LOOP (COND ((> |i| 255) (RETURN NIL)) (T (SETF (SBIT |a| |i|) 0))) (SETQ |i| (+ |i| 1)))) - (WITH-HASH-TABLE-ITERATOR (#1=#:G397 |shoeKeyTable|) + (WITH-HASH-TABLE-ITERATOR (#1=#:G374 |shoeKeyTable|) (LOOP - (MULTIPLE-VALUE-BIND (#2=#:G398 |k| #:G399) + (MULTIPLE-VALUE-BIND (#2=#:G375 |k| #:G376) (#1#) (COND ((NOT #2#) (RETURN NIL)) ((|shoeStartsId| (SCHAR |k| 0)) NIL) (T (SETF (SBIT |a| (CHAR-CODE (SCHAR |k| 0))) 1)))))) -- cgit v1.2.3