HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make shr feed Content-Type to the image-creating libraries
[bpt/emacs.git]
/
admin
/
grammars
/
srecode-template.wy
diff --git
a/admin/grammars/srecode-template.wy
b/admin/grammars/srecode-template.wy
index
de9bf35
..
fd3f619
100644
(file)
--- a/
admin/grammars/srecode-template.wy
+++ b/
admin/grammars/srecode-template.wy
@@
-125,6
+125,10
@@
opt-read-fcn
variable
: SET symbol insertable-string-list newline
(VARIABLE-TAG $2 nil $3)
variable
: SET symbol insertable-string-list newline
(VARIABLE-TAG $2 nil $3)
+ | SET symbol number newline
+ ;; This so a common error w/ priority works.
+ ;; Note that "number" still has a string value in the lexer.
+ (VARIABLE-TAG $2 nil (list $3))
| SHOW symbol newline
(VARIABLE-TAG $2 nil t)
;
| SHOW symbol newline
(VARIABLE-TAG $2 nil t)
;
@@
-260,8
+264,8
@@
It ignores whitespace, newlines and comments."
srecode-template-separator-block
srecode-template-wy--<keyword>-keyword-analyzer
srecode-template-property-analyzer
srecode-template-separator-block
srecode-template-wy--<keyword>-keyword-analyzer
srecode-template-property-analyzer
- srecode-template-wy--<symbol>-regexp-analyzer
srecode-template-wy--<number>-regexp-analyzer
srecode-template-wy--<number>-regexp-analyzer
+ srecode-template-wy--<symbol>-regexp-analyzer
srecode-template-wy--<string>-sexp-analyzer
srecode-template-wy--<punctuation>-string-analyzer
semantic-lex-default-action
srecode-template-wy--<string>-sexp-analyzer
srecode-template-wy--<punctuation>-string-analyzer
semantic-lex-default-action