From 50bd615b2702f182c6d0da9fd15a8207c0591c6a Mon Sep 17 00:00:00 2001 From: CrossNox Date: Sun, 27 Nov 2022 11:52:45 -0300 Subject: [PATCH] fix code --- src/rustint/core.clj | 46 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/src/rustint/core.clj b/src/rustint/core.clj index 11a27d7..3115cb2 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -1928,7 +1928,51 @@ ; false ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defn palabra-reservada? [arg] - true + (let [keywords (hash-set + 'EOF, + 'String, + 'Write, + 'abs, + 'as, + 'as_str, + 'atan, + 'bool, + 'char, + 'chars, + 'const, + 'else, + 'exit, + 'expect, + 'f64, + 'flush, + 'fn, + 'format!, + 'from, + 'i64, + 'if, + 'io, + 'let, + 'mut, + 'new, + 'nth, + 'parse, + 'print!, + 'println!, + 'process, + 'read_line, + 'return, + 'sin, + 'sqrt, + 'std, + 'stdin, + 'stdout, + 'to_string, + 'trim, + 'unwrap, + 'use, + 'usize, + 'while, + )] (contains? keywords arg)) ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;