Bug 9098 – Error with ddoc: octal digit expected

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-11-29T13:24:00Z
Last change time
2013-01-14T01:01:19Z
Keywords
pull
Assigned to
andrej.mitrovich
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2012-11-29T13:24:25Z
Seems to be introduced in 2.060: D:\dmd-git\dmd2\src\d-programming-language.org>make -f win32.mak function.html dmd -o- -c -D macros.ddoc windows.ddoc doc.ddoc function.dd (1): Error: Octal digit expected (10): Error: Octal digit expected (12): Error: Octal digit expected The html file is properly generated (diff shows they match in 2.059 and 2.060).
Comment #1 by andrej.mitrovich — 2012-12-02T09:19:43Z
Comment #2 by yebblies — 2013-01-12T22:55:46Z
Why on earth aren't the errors gagged while processing code samples?
Comment #3 by andrej.mitrovich — 2013-01-13T07:58:02Z
(In reply to comment #2) > Why on earth aren't the errors gagged while processing code samples? Because it allows us to catch bugs like these before the user has to face disappointment when he finds out the code doesn't compile.
Comment #4 by yebblies — 2013-01-14T01:01:19Z
(In reply to comment #3) > (In reply to comment #2) > > Why on earth aren't the errors gagged while processing code samples? > > Because it allows us to catch bugs like these before the user has to face > disappointment when he finds out the code doesn't compile. But it only catches lexical errors...