+ //
+ // We shouldn't take into account the '&' which just introduces the
+ // mnemonic characters and so are not shown on the screen -- except
+ // when it is preceded by another '&' in which case it stands for a
+ // literal ampersand
+ //
+ if (*pc == _T('&'))
+ {
+ if (!bLastWasAmpersand)
+ {
+ bLastWasAmpersand = TRUE;
+
+ //
+ // Skip the statement adding pc to curLine below
+ //
+ continue;
+ }
+
+ //
+ // It is a literal ampersand
+ //
+ bLastWasAmpersand = FALSE;
+ }