Attention is currently required from: laforge.
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/simtrace2/+/26985 )

Change subject: contrib/simtrace.lua: Add Flag bits + Data to COL_INFO
......................................................................


Patch Set 5:

(1 comment)

File contrib/simtrace.lua:

https://gerrit.osmocom.org/c/simtrace2/+/26985/comment/32f50145_d42e05bc
PS1, Line 93:   if is_pbrx().value == 1 then
> the syntax you provided simply doesn't work here: "unexpected symbol near if"
Interesting, I don't even remember where I found that syntax. Now I found:

  flagstr = flagstr + (is_pbrx().value == 1) and "R" or "."

https://riptutorial.com/lua/example/26503/emulating-ternary-operator-with--and---or--logical-operators-



--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/26985
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I0aa3d68172022907fbe8371aaca6538df0649dfe
Gerrit-Change-Number: 26985
Gerrit-PatchSet: 5
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Comment-Date: Thu, 03 Mar 2022 17:45:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <[email protected]>
Comment-In-Reply-To: fixeria <[email protected]>
Gerrit-MessageType: comment

Reply via email to