From cc0bcf3915ff3ae0aeaf19cae8d8badfa48983d5 Mon Sep 17 00:00:00 2001
From: Mark Wooding <mdw@distorted.org.uk>
Date: Tue, 17 Nov 2015 17:03:06 +0000
Subject: [PATCH] doc/syntax.tex: Allow `0' as an integer literal.

It's too short to be octal, and that's ugly anyway, so include it as a
strange decimal literal.
---
 doc/syntax.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/syntax.tex b/doc/syntax.tex
index 11e80b6..fa3e98f 100644
--- a/doc/syntax.tex
+++ b/doc/syntax.tex
@@ -146,7 +146,7 @@ discouraged.
 \alt <octal-integer>
 \alt <hex-integer>
 
-<decimal-integer> ::= <nonzero-digit-char> @<digit-char>^*
+<decimal-integer> ::= "0" | <nonzero-digit-char> @<digit-char>^*
 
 <binary-integer> ::= "0" @("b"|"B"@) @<binary-digit-char>^+
 
-- 
2.11.0

