X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/16ddec7e9e6adcf615db097d9627d490ca29208c..1dd4f26ab6c1f14628d9fcf03b0cca7e54d52302:/admin/grammars/srecode-template.wy diff --git a/admin/grammars/srecode-template.wy b/admin/grammars/srecode-template.wy index f84a414b46..33c8d24eed 100644 --- a/admin/grammars/srecode-template.wy +++ b/admin/grammars/srecode-template.wy @@ -1,6 +1,6 @@ ;;; srecode-template.wy --- Semantic Recoder Template parser -;; Copyright (C) 2005-2012 Free Software Foundation, Inc. +;; Copyright (C) 2005-2016 Free Software Foundation, Inc. ;; Author: Eric Ludlam ;; Keywords: syntax @@ -125,6 +125,10 @@ opt-read-fcn 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) ; @@ -260,8 +264,8 @@ It ignores whitespace, newlines and comments." srecode-template-separator-block srecode-template-wy---keyword-analyzer srecode-template-property-analyzer - srecode-template-wy---regexp-analyzer srecode-template-wy---regexp-analyzer + srecode-template-wy---regexp-analyzer srecode-template-wy---sexp-analyzer srecode-template-wy---string-analyzer semantic-lex-default-action