aboutsummaryrefslogtreecommitdiffhomepage
path: root/phox/x-symbol-phox.el
diff options
context:
space:
mode:
Diffstat (limited to 'phox/x-symbol-phox.el')
-rw-r--r--phox/x-symbol-phox.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/phox/x-symbol-phox.el b/phox/x-symbol-phox.el
index 84f7d7d1..038b6112 100644
--- a/phox/x-symbol-phox.el
+++ b/phox/x-symbol-phox.el
@@ -71,10 +71,10 @@ See `x-symbol-header-groups-alist'."
(lambda (x)
(cons x
(cond
- ;; CW: where are the shapes `id' and `op' used?
+ ;; the shapes `id' and `op' are used by x-symbol-phox-token-grammar
((string-match "\\`[A-Za-z_][A-Za-z_0-9]+\\'" x)
'id)
- ((string-match "\\`[<>!+-*/|&]+\\'" x)
+ ((string-match "\\`[]><=\\/~&+-*%!{}:-]+\\'" x)
'op))))
tokens))