Update docs/hacking-howto to reflect parser changes
Patch status: merged
Patch by Peter Maatman
To apply this patch, use:
curl http://cr.i3wm.org/patch/263/raw.patch | git am
b/docs/hacking-howto
13 |
@@ -97,21 +97,18 @@ Contains forward definitions for all public functions, as well as |
14 |
doxygen-compatible comments (so if you want to get a bit more of the big |
15 |
picture, either browse all header files or use doxygen if you prefer that). |
16 |
|
17 |
-src/cfgparse.l:: |
18 |
-Contains the lexer for i3’s configuration file, written for +flex(1)+. |
19 |
- |
20 |
-src/cfgparse.y:: |
21 |
-Contains the parser for i3’s configuration file, written for +bison(1)+. |
22 |
+src/config_parser.c:: |
23 |
+Contains a custom configuration parser. See src/command_parser.c for rationale |
24 |
+ on why we use a custom parser. |
25 |
|
26 |
src/click.c:: |
27 |
Contains all functions which handle mouse button clicks (right mouse button |
28 |
clicks initiate resizing and thus are relatively complex). |
29 |
|
30 |
-src/cmdparse.l:: |
31 |
-Contains the lexer for i3 commands, written for +flex(1)+. |
32 |
- |
33 |
-src/cmdparse.y:: |
34 |
-Contains the parser for i3 commands, written for +bison(1)+. |
35 |
+src/command_parser.c:: |
36 |
+Contains a hand-written parser to parse commands (commands are what |
37 |
+you bind on keys and what you can send to i3 using the IPC interface, like |
38 |
+'move left' or 'workspace 4'). |
39 |
|
40 |
src/con.c:: |
41 |
Contains all functions which deal with containers directly (creating |