syntax/parse: fix disappeared-use property in attribute macro

This fixes the DrRacket check syntax arrows in uses of `attribute` like this:
```racket
#lang racket/base
(require syntax/parse)
(syntax-parse #'a
  [a
   (attribute a)])
```
This commit is contained in:
Alex Knauth 2015-09-11 17:03:55 -04:00 committed by Ryan Culpepper
parent 4f5c54db54
commit 2923a3adcf

View File

@ -99,7 +99,7 @@
(raise-syntax-error #f "not bound as an attribute" stx #'name))
(syntax-property (attribute-mapping-var attr)
'disappeared-use
#'name))))]))
(list (syntax-local-introduce #'name))))))]))
;; (attribute-binding id)
;; mostly for debugging/testing