summaryrefslogtreecommitdiff
path: root/keycodes.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-08-11 18:01:48 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-08-18 17:40:24 +0930
commiteb18e9176841b3ea64c497f1919686e134713eb6 (patch)
treea080f6a26fdf8c44f0408ac21d299652cfd41c2a /keycodes.c
parent9b877d83947708259252275e14f6995dcf7c29ce (diff)
downloadxorg-app-xkbcomp-eb18e9176841b3ea64c497f1919686e134713eb6.tar.gz
Add some explanatory comments
Diffstat (limited to 'keycodes.c')
-rw-r--r--keycodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keycodes.c b/keycodes.c
index 792a263..f452f7b 100644
--- a/keycodes.c
+++ b/keycodes.c
@@ -739,11 +739,11 @@ HandleKeycodesFile(XkbFile * file,
HandleKeycodesFile))
info->errorCount++;
break;
- case StmtKeycodeDef:
+ case StmtKeycodeDef: /* e.g. <ESC> = 9; */
if (!HandleKeycodeDef((KeycodeDef *) stmt, merge, info))
info->errorCount++;
break;
- case StmtKeyAliasDef:
+ case StmtKeyAliasDef: /* e.g. alias <MENU> = <COMP>; */
if (!HandleAliasDef((KeyAliasDef *) stmt,
merge, info->fileID, &info->aliases))
info->errorCount++;
@@ -752,7 +752,7 @@ HandleKeycodesFile(XkbFile * file,
if (!HandleKeyNameVar((VarDef *) stmt, merge, info))
info->errorCount++;
break;
- case StmtIndicatorNameDef:
+ case StmtIndicatorNameDef: /* e.g. indicator 1 = "Caps Lock"; */
if (!HandleIndicatorNameDef((IndicatorNameDef *) stmt,
merge, info))
{