RAD Studio
ContentsIndex
PreviousUpNext
E2051: Invalid use of dot (C++)

An identifier must immediately follow a period operator (.). This is a rare message that can only occur in some specialized inline assembly statements. 

Example  

struct foo {
  int x;
  int y;
}p = {0,0};
int y;
int main (void)
{
  asm mov eax.(foo)x, 1;
  asm mov eax.(foo)4, 1;       /* Error: Invalid use of dot */
  return 0;
}
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!