Page MenuHomeFreeBSD

Use correct DOT language syntax for an ID with a leading digit (0mp).
ClosedPublic

Authored by 0mp on Jul 20 2018, 11:59 PM.
Tags
None
Referenced Files
F113879309: D16372.id45666.diff
Sat, Apr 5, 12:21 AM
Unknown Object (File)
Sat, Mar 8, 10:09 AM
Unknown Object (File)
Mar 1 2025, 7:03 PM
Unknown Object (File)
Feb 18 2025, 1:34 PM
Unknown Object (File)
Feb 18 2025, 12:32 PM
Unknown Object (File)
Feb 7 2025, 3:27 PM
Unknown Object (File)
Feb 5 2025, 5:54 PM
Unknown Object (File)
Feb 3 2025, 11:54 AM
Subscribers

Details

Summary

It turns out that my username (0mp) is not a valid ID in the DOT language
because it starts with a digit. The easiest way to fix it is to put my username
in double quotes [1].

[1]: https://graphviz.gitlab.io/_pages/doc/info/lang.html

Reported by: pstef

Test Plan

Running dot share/misc/committers-ports.dot should not produce the following messages:

Warning: syntax ambiguity - badly delimited number '0m' in line 43 of share/misc/committers-ports.dot splits into two tokens
Warning: syntax ambiguity - badly delimited number '0m' in line 484 of share/misc/committers-ports.dot splits into two tokens
Warning: syntax ambiguity - badly delimited number '0m' in line 530 of share/misc/committers-ports.dot splits into two tokens

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable