Mercurial > emacs
view etc/schema/xhtml-script.rnc @ 108085:34eca4ecfbe6
Provide byte-compiler warnings when set-default a read-only var.
* emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
(byte-compile-setq-default): Optimize for the
single-var case and don't call byte-compile-form in this case to avoid
inf-loop with byte-compile-set-default.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 23 Apr 2010 12:26:11 -0400 |
parents | 38f93f3d00a2 |
children |
line wrap: on
line source
# Script Module script = element script { script.attlist, text } script.attlist = attribute charset { Charset.datatype }?, attribute type { ContentType.datatype }, attribute src { URI.datatype }?, attribute defer { "defer" }?, attribute xml:space { "preserve" }? noscript = element noscript { noscript.attlist, Block.model } noscript.attlist = Common.attrib head.content &= script* Script.class = noscript | script Inline.class |= Script.class Block.class |= Script.class