[heycam/webidl] "float" is the name of two distinct things in the grammar (#558)

In the grammar, "float" is both the name of the [regular expression](https://heycam.github.io/webidl/#prod-float) matching a literal floating point value and the actual keyword ["float"](https://heycam.github.io/webidl/#index-prod-FloatType). The only visual distinction between the two is that the regular expression float is displayed in a sans-serif font, and the keyword is displayed in a monospace font - and honestly, I can't tell which is which without looking at the computed css. While it's reasonably easy to figure out which one is intended where based on the context, it's still a pretty confusing thing to come across - it would be nice if one was renamed, or more realistically, if it was pointed out in the [description of the grammar](https://heycam.github.io/webidl/#idl-grammar). 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/558

Received on Wednesday, 23 May 2018 04:07:21 UTC