aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-06-18 03:04:00 +0200
committerLars Ingebrigtsen2019-06-18 11:33:40 +0200
commit57cf71511362398853a74c48cda1d935a009df7a (patch)
tree7ec7cd4ab6e892af067d45d7430a4f5ebadc2e25 /admin
parent010db58e03cbd7e65576cc107db08ebd2ab4086d (diff)
downloademacs-57cf71511362398853a74c48cda1d935a009df7a.tar.gz
emacs-57cf71511362398853a74c48cda1d935a009df7a.zip
Add types to some no-type tokes in js.wy
* admin/grammars/js.wy: Add types to the FALSE, TRUE and QUERY tokens. Without the types, you'd get the warning *Warning* default value of <<no-type>> tokens changed to QUERY, was NULL_TOKEN *Warning* default value of <<no-type>> tokens changed to TRUE, was QUERY *Warning* default value of <<no-type>> tokens changed to FALSE, was TRUE I think this should be harmless, and it doesn't seem to break handling .js files.
Diffstat (limited to 'admin')
-rw-r--r--admin/grammars/js.wy6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/grammars/js.wy b/admin/grammars/js.wy
index e5a7c9be71f..ff048d82e9a 100644
--- a/admin/grammars/js.wy
+++ b/admin/grammars/js.wy
@@ -236,9 +236,9 @@
236%token <number> NUMBER 236%token <number> NUMBER
237 237
238 238
239%token FALSE 239%token <false> FALSE
240%token TRUE 240%token <true> TRUE
241%token QUERY 241%token <query> QUERY
242 242
243 243
244%token NULL_TOKEN 244%token NULL_TOKEN