aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEduardo Julian2016-05-22 12:57:00 -0400
committerEduardo Julian2016-05-22 12:57:00 -0400
commitefeacef0a2b98fd428a37b8b6b127bd909ac0e18 (patch)
tree81274ca26eeb5cddabc871224e026cb860dbee9b /src
parent18ff8ef70aa422fc76244459f07a2cc4e81cc63e (diff)
- Fixed that bug that was causing method definitions to be set as final and with strict-fp math.
Diffstat (limited to 'src')
-rw-r--r--src/lux/analyser/host.clj1
-rw-r--r--src/lux/analyser/parser.clj15
2 files changed, 10 insertions, 6 deletions
diff --git a/src/lux/analyser/host.clj b/src/lux/analyser/host.clj
index 3703b6ec9..a677b7973 100644
--- a/src/lux/analyser/host.clj
+++ b/src/lux/analyser/host.clj
@@ -2,7 +2,6 @@
;; This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
;; If a copy of the MPL was not distributed with this file,
;; You can obtain one at http://mozilla.org/MPL/2.0/.
-
(ns lux.analyser.host
(:require (clojure [template :refer [do-template]]
[string :as string])
diff --git a/src/lux/analyser/parser.clj b/src/lux/analyser/parser.clj
index 532e96b83..e60f28a02 100644
--- a/src/lux/analyser/parser.clj
+++ b/src/lux/analyser/parser.clj
@@ -238,7 +238,8 @@
_ _space_
=privacy-modifier parse-privacy-modifier
_ _space_
- [_ (&lexer/$Bool =strict)] &lexer/lex-bool
+ [_ (&lexer/$Bool =strict*)] &lexer/lex-bool
+ :let [=strict (Boolean/parseBoolean =strict*)]
_ _space_
=anns (with-brackets
(spaced parse-ann))
@@ -265,9 +266,11 @@
_ _space_
=privacy-modifier parse-privacy-modifier
_ _space_
- [_ (&lexer/$Bool =final?)] &lexer/lex-bool
+ [_ (&lexer/$Bool =final?*)] &lexer/lex-bool
+ :let [=final? (Boolean/parseBoolean =final?*)]
_ _space_
- [_ (&lexer/$Bool =strict)] &lexer/lex-bool
+ [_ (&lexer/$Bool =strict*)] &lexer/lex-bool
+ :let [=strict (Boolean/parseBoolean =strict*)]
_ _space_
=anns (with-brackets
(spaced parse-ann))
@@ -293,7 +296,8 @@
_ _space_
=name parse-name
_ _space_
- [_ (&lexer/$Bool =strict)] &lexer/lex-bool
+ [_ (&lexer/$Bool =strict*)] &lexer/lex-bool
+ :let [=strict (Boolean/parseBoolean =strict*)]
_ _space_
=anns (with-brackets
(spaced parse-ann))
@@ -319,7 +323,8 @@
_ _space_
=privacy-modifier parse-privacy-modifier
_ _space_
- [_ (&lexer/$Bool =strict)] &lexer/lex-bool
+ [_ (&lexer/$Bool =strict*)] &lexer/lex-bool
+ :let [=strict (Boolean/parseBoolean =strict*)]
_ _space_
=anns (with-brackets
(spaced parse-ann))