diff options
| author | Lars Ingebrigtsen | 2019-06-18 03:04:00 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-18 11:33:40 +0200 |
| commit | 57cf71511362398853a74c48cda1d935a009df7a (patch) | |
| tree | 7ec7cd4ab6e892af067d45d7430a4f5ebadc2e25 /admin | |
| parent | 010db58e03cbd7e65576cc107db08ebd2ab4086d (diff) | |
| download | emacs-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.wy | 6 |
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 |