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
Unknown Object (File)
Sat, Nov 23, 12:23 PM
Unknown Object (File)
Sep 16 2024, 4:02 PM
Unknown Object (File)
Sep 8 2024, 2:24 PM
Unknown Object (File)
Sep 7 2024, 4:50 PM
Unknown Object (File)
Sep 7 2024, 2:54 PM
Unknown Object (File)
Aug 30 2024, 8:41 PM
Unknown Object (File)
Aug 25 2024, 10:53 PM
Unknown Object (File)
Aug 5 2024, 4:30 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