diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-08-11 18:01:48 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-08-18 17:40:24 +0930 |
commit | eb18e9176841b3ea64c497f1919686e134713eb6 (patch) | |
tree | a080f6a26fdf8c44f0408ac21d299652cfd41c2a /misc.c | |
parent | 9b877d83947708259252275e14f6995dcf7c29ce (diff) |
Add some explanatory comments
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,6 +49,8 @@ ProcessIncludeFile(IncludeStmt * stmt, rtrn = XkbFindFileInCache(stmt->file, file_type, &stmt->path); if (rtrn == NULL) { + /* file not in cache, open it, parse it and store it in cache for next + time. */ file = XkbFindFileInPath(stmt->file, file_type, &stmt->path); if (file == NULL) { @@ -62,6 +64,7 @@ ProcessIncludeFile(IncludeStmt * stmt, setScanState(stmt->file, 1); if (debugFlags & 2) INFO1("About to parse include file %s\n", stmt->file); + /* parse the file */ if ((XKBParseFile(file, &rtrn) == 0) || (rtrn == NULL)) { setScanState(oldFile, oldLine); |