From d108044bef62f6a0d579c92ced5e8188f72edc2d Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Wed, 15 Sep 2010 15:42:49 +0000 Subject: [PATCH 1/1] Allow "INLINEABLE" as a synonym --- compiler/parser/Lexer.x | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 0fa3256..b418280 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -2218,6 +2218,8 @@ ignoredPrags = Map.fromList (map ignored pragmas) oneWordPrags = Map.fromList([("rules", rulePrag), ("inline", token (ITinline_prag Inline FunLike)), ("inlinable", token (ITinline_prag Inlinable FunLike)), + ("inlineable", token (ITinline_prag Inlinable FunLike)), + -- Spelling variant ("notinline", token (ITinline_prag NoInline FunLike)), ("specialize", token ITspec_prag), ("source", token ITsource_prag), -- 1.7.10.4