From 57cf71511362398853a74c48cda1d935a009df7a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 18 Jun 2019 03:04:00 +0200 Subject: [PATCH] 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 <> tokens changed to QUERY, was NULL_TOKEN *Warning* default value of <> tokens changed to TRUE, was QUERY *Warning* default value of <> tokens changed to FALSE, was TRUE I think this should be harmless, and it doesn't seem to break handling .js files. --- admin/grammars/js.wy | 6 +++--- 1 file 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 @@ %token NUMBER -%token FALSE -%token TRUE -%token QUERY +%token FALSE +%token TRUE +%token QUERY %token NULL_TOKEN -- 2.39.2