I am trying to figure out how to add comments to a .dbc file, but the DBC specification doesn't seem to address this.
I tried adding //
and it seems to work, but I don't want to rely on undefined behaviour.
I am trying to figure out how to add comments to a .dbc file, but the DBC specification doesn't seem to address this.
I tried adding //
and it seems to work, but I don't want to rely on undefined behaviour.
I haven't found any way to add comments at arbitrary locations in a DBC file (the (* ... *)
notation is only for comments in the documentation describing the DBC file syntax), but based on the example at the end of http://read.pudn.com/downloads766/ebook/3041455/DBC_File_Format_Documentation.pdf I determined that you can at least put explanatory comments in the comments section of the database itself, using the CM_
notation:
CM_ "This is an explanatory comment that must appear together with all the other
dbc object comments, but may span multiple lines within the quotes";