mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 08:10:03 +01:00
Cygwin/X: Avoid a collision between DEBUG and a token name
Rename a token to avoid a collision between DEBUG defined via AC_DEFINE if --enable-debug is configured, and the token for the 'debug' instruction in the XWin preferences file Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
b7dbbd3cd4
commit
c76248fda9
2 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ ATSTART { return ATSTART; }
|
|||
ATEND { return ATEND; }
|
||||
EXEC { return EXEC; }
|
||||
ALWAYSONTOP { return ALWAYSONTOP; }
|
||||
DEBUG { return DEBUG; }
|
||||
DEBUG { return DEBUGOUTPUT; }
|
||||
RELOAD { return RELOAD; }
|
||||
TRAYICON { return TRAYICON; }
|
||||
SILENTEXIT { return SILENTEXIT; }
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ extern int yylex(void);
|
|||
%token ATEND
|
||||
%token EXEC
|
||||
%token ALWAYSONTOP
|
||||
%token DEBUG
|
||||
%token DEBUGOUTPUT "DEBUG"
|
||||
%token RELOAD
|
||||
%token TRAYICON
|
||||
%token FORCEEXIT
|
||||
|
|
@ -243,7 +243,7 @@ forceexit: FORCEEXIT NEWLINE { pref.fForceExit = TRUE; }
|
|||
silentexit: SILENTEXIT NEWLINE { pref.fSilentExit = TRUE; }
|
||||
;
|
||||
|
||||
debug: DEBUG STRING NEWLINE { ErrorF("LoadPreferences: %s\n", $2); free($2); }
|
||||
debug: DEBUGOUTPUT STRING NEWLINE { ErrorF("LoadPreferences: %s\n", $2); free($2); }
|
||||
;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue