Skip to content

Commit

Permalink
docs: correct macro in condition and add comment for target macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Aug 7, 2024
1 parent d154b9b commit 78f8a73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/doc/lr/lrsyms.gml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
:set symbol="off_t" value="off_t".
.*
.if '&machsys' eq 'QNX' .do begin
:cmt. target is defined for gml file in cmn
:set symbol="target" value="QNX".
:set symbol="sw" value="-".
:set symbol="pc" value="/".
Expand All @@ -68,14 +69,17 @@
.do end
.*
.if '&machsys' eq 'DOS' .do begin
:cmt. target is defined for gml file in cmn
:set symbol="target" value="DOS".
.do end
.*
.if '&machsys' eq 'NEC' .do begin
:cmt. target is defined for gml file in cmn
:set symbol="target" value="NEC".
.do end
.*
.if '&machsys' eq 'TEST' .do begin
:cmt. target is defined for gml file in cmn
:set symbol="target" value="DOS".
.do end
.*
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/lr/src/clibover.gml
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ and strings.
.fdbeg
.fd atof
string to "double"
.if '&target' eq 'QNX' .do begin
.if '&machsys' eq 'QNX' .do begin
.fd atoh
hexadecimal string to "unsigned int"
.do end
Expand Down

0 comments on commit 78f8a73

Please sign in to comment.