Commit graph

35 commits

Author SHA1 Message Date
Dale Weiler
c3df4edebd Remove trailing whitespace 2012-04-28 19:03:16 -04:00
Dale Weiler
3e7a8c0e78 All code is now C89/C90 compat 2012-04-28 18:56:09 -04:00
Dale Weiler
05966ee009 Remove trailing whitespace from everything 2012-04-28 16:43:39 -04:00
Dale Weiler
f697a5f999 lex.c -> lex_init s/lex->line = 0/lex->line = 1/ 2012-04-28 16:31:30 -04:00
Dale Weiler
37ff28a3b5 This should fix line counting issues with the lexer 2012-04-28 16:30:44 -04:00
Dale Weiler
7a81848d88 Lexer fixes 2012-04-28 16:25:43 -04:00
Dale Weiler
72053e16d2 Interface change 2012-04-28 05:35:32 -04:00
Dale Weiler
33b1995fa5 struct lex_file -> lex_file 2012-04-28 05:25:19 -04:00
Dale Weiler
32b804864e Fix clang warnings 2012-04-17 17:31:07 -04:00
Dale Weiler
477e80f1fb tabulators->four spaces 2012-04-17 16:24:22 -04:00
Dale Weiler
6e3819a76c Work in progress assembler, cleanups and more. 2012-04-17 04:29:58 -04:00
Dale Weiler
36378e341e More cleanups 2012-04-15 18:01:21 -04:00
Dale Weiler
98b0e11890 Cleanups 2012-04-15 17:47:14 -04:00
Dale Weiler
4e35032a24 Include now works 2012-04-14 03:53:20 -04:00
Dale Weiler
9493da4f8b I got parsing to work finally. 2012-04-12 02:22:28 -04:00
Dale Weiler
32d7728b2f Parsing fixes 2012-04-11 22:13:34 -04:00
Dale Weiler
e4bc0a2d6a More parsing stuff (still totally broken) 2012-04-11 19:41:04 -04:00
Dale Weiler
e4e6185d5f Count file lines 2012-04-11 15:53:40 -04:00
Dale Weiler
51e2f2b731 Implemented support for #include, but it doesn't add an include to the lexer yet. 2012-04-11 12:13:31 -04:00
Dale Weiler
639fc8a32b Cleanups 2012-04-10 05:02:58 -04:00
Dale Weiler
d5dcb3aff7 digraph and trigraph tests 2012-04-10 04:29:06 -04:00
Dale Weiler
bd5ba9e0fe Cleanups 2012-04-10 04:20:15 -04:00
Dale Weiler
4c23a669aa Formatting 2012-04-10 01:06:33 -04:00
Dale Weiler
02e9098d3d Fixed parsing issues, added some parser tests. 2012-04-10 01:03:52 -04:00
Dale Weiler
248cd7af94 Fix parser bug 2012-04-09 23:46:59 -04:00
Dale Weiler
a5e44c6631 More parse tree stuff 2012-04-09 22:44:06 -04:00
Dale Weiler
c3f08b289b Cleanups 2012-04-09 20:39:54 -04:00
Dale Weiler
a440c1410b Cleaups and README 2012-04-09 20:18:49 -04:00
Dale Weiler
45cbef1b8f Typedefs can now be registered, and even typedef a typedef. 2012-04-09 20:10:52 -04:00
Dale Weiler
b10d1005fb Implemented typedefs 2012-04-09 19:47:20 -04:00
Dale Weiler
2b94dc1d89 More parsing & parse tree 2012-04-09 19:00:13 -04:00
Dale Weiler
e6a270a7e0 Some parsing 2012-04-09 10:14:26 -04:00
Dale Weiler
1deeb8c9cf Work in progress preprocessor 2012-04-09 09:36:16 -04:00
Dale Weiler
c436c3a6c6 Some new types, and lexer changes 2012-04-09 07:45:20 -04:00
Dale Weiler
48a95ec3c9 initial commit 2012-04-09 06:42:06 -04:00