From 42aa316a23939bfbfea5d1642e1ecef9b66c0f09 Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 12 Mar 2019 01:05:10 -0700 Subject: [PATCH] Fix custom attribute thing Upon updating rust version, the unrestricted_attribute_token thing broke, but I'm changing this anyway so whatever --- schala-lang/language/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schala-lang/language/src/lib.rs b/schala-lang/language/src/lib.rs index 7396303..bc1fbeb 100644 --- a/schala-lang/language/src/lib.rs +++ b/schala-lang/language/src/lib.rs @@ -1,6 +1,6 @@ #![feature(trace_macros)] #![feature(custom_attribute)] -#![feature(unrestricted_attribute_tokens)] +//#![feature(unrestricted_attribute_tokens)] #![feature(slice_patterns, box_patterns, box_syntax)] //! `schala-lang` is where the Schala programming language is actually implemented. @@ -47,8 +47,8 @@ mod eval; #[LanguageName = "Schala"] #[SourceFileExtension = "schala"] #[PipelineSteps(load_source, tokenizing, parsing(compact,expanded,trace), symbol_table, typechecking, ast_reducing, eval)] -#[DocMethod = get_doc] -#[HandleCustomInterpreterDirectives = handle_custom_interpreter_directives] +#[DocMethod = "get_doc"] +#[HandleCustomInterpreterDirectives = "handle_custom_interpreter_directives"] /// All bits of state necessary to parse and execute a Schala program are stored in this struct. /// `state` represents the execution state for the AST-walking interpreter, the other fields /// should be self-explanatory.