diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-25 11:32:02 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-25 11:32:02 -0600 |
commit | e434036cffd2a5fa1d7ca9195b45cf1c61a71537 (patch) | |
tree | 86153d686d5b90a898b8303c80119d0f2268b9e1 /vs-c.md | |
parent | d9fcad8cd6ec6f0469d25a1c6ad640d60a485d1c (diff) | |
download | spec-e434036cffd2a5fa1d7ca9195b45cf1c61a71537.tar.gz spec-e434036cffd2a5fa1d7ca9195b45cf1c61a71537.zip |
add octal literals
Diffstat (limited to 'vs-c.md')
-rw-r--r-- | vs-c.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,6 @@ Some of the footguns and complexity in C come from misfeatures that can simply n Some constructs in C are almost always the wrong thing.
- `goto`
-- Octal literals
- Hexadecimal float literals
- Wide characters
- Digraphs
@@ -55,6 +54,7 @@ However, sometimes it just sucks, and in those cases Crowbar makes changes. - `_Bool` is just `bool`, `_Complex` is just `complex` (why drag the preprocessor into it?)
- Adding a `_` to numeric literals as a separator
- All string literals, char literals, etc are UTF-8
+- Octal literals have a `0o` prefix (never `0O` because that looks nasty)
# Additions
|