You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not entirely necessary for all state machines, but for the uber important ones (field loop, script processor, etc.), and for any SMs reached going forward, this should be implemented. Low priority.
Not entirely necessary for all state machines, but for the uber important ones (field loop, script processor, etc.), and for any SMs reached going forward, this should be implemented. Low priority.
I agree with low priority and personally, I only care about the state constants when the functions get documented. Will point out when documented state machines need their constants going forward etc and everyone else should do the same.
Useful grep command:
grep -Pzowr --include="*.c" --include="*.h" --exclude-dir="tools" --exclude-dir="sub" --exclude-dir="lib" --exclude-dir=".github" --exclude-dir="files" 'switch \([^{]+\n?[^{\n]*{(?:\s+//.*?\n)*\s*case (?:(?:0x[0-9a-f]+|[0-9])*\s*[&\*\+-/\|]*)+:.*?\n' | tr -d '\000'
Unfortunately does not catch
switch
statements starting withdefault:
, so a custom tool would need to be madeThe text was updated successfully, but these errors were encountered: