aboutsummaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-02 20:22:32 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-02 20:22:32 -0700
commitd43b22c6fa59268a29bfe9eb685c3a55dccc257b (patch)
tree5b9419acb51cfcd3e8d366ef1ec233f320130168 /language
parent8868b5fa2e8b9f40a31035c51519cce40e73f079 (diff)
downloadspec-d43b22c6fa59268a29bfe9eb685c3a55dccc257b.tar.gz
spec-d43b22c6fa59268a29bfe9eb685c3a55dccc257b.zip
refactor the numeric types
Diffstat (limited to 'language')
-rw-r--r--language/scanning.rst20
1 files changed, 14 insertions, 6 deletions
diff --git a/language/scanning.rst b/language/scanning.rst
index a141b41..044441d 100644
--- a/language/scanning.rst
+++ b/language/scanning.rst
@@ -11,12 +11,20 @@ Scanning
Punctuators, string literals, and character constants do not require explicit separation from adjacent tokens.
keyword
- One of the literal words ``bool``, ``break``, ``case``,
- ``char``, ``const``, ``continue``, ``default``, ``do``, ``double``,
- ``else``, ``enum``, ``extern``, ``false``, ``float``, ``for``, ``fragile``,
- ``function``, ``if``, :crowbar:ref:`include <IncludeStatement>`, ``int``, ``long``, ``opaque``, ``return``,
- ``short``, ``signed``, ``sizeof``, ``struct``, ``switch``, ``true``, ``union``,
- ``unsigned``, ``void``, or ``while``.
+ One of the literal words ``bool``, ``break``, ``byte``,
+ ``case``, ``const``, ``continue``,
+ ``default``, ``do``,
+ ``else``, ``enum``,
+ ``false``, ``float32``, ``float64``, ``for``, ``fragile``, ``function``,
+ ``if``, :crowbar:ref:`include <IncludeStatement>`, ``int8``, ``int16``, ``int32``, ``int64``, ``intaddr``,
+ ``long``,
+ ``opaque``,
+ ``return``,
+ ``short``, ``sizeof``, ``struct``, ``switch``,
+ ``true``,
+ ``uint8``, ``uint16``, ``uint32``, ``uint64``, ``uintaddr``, ``union``,
+ ``void``,
+ or ``while``.
identifier
A nonempty sequence of characters blah blah blah