My favorites | Sign in
Repository Home Source
Checkout   Browse   Changes   Clones    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%{
#include "lex.h"
%}
%%
\xd ;
%%
int yywrap(void) {
return YYWRAP_RETURN;
}

int main() {
header();
yylex();
}

Change log

cf0f70414169 by Jason Catena <jason.catena> on Jun 14, 2011   Diff
(c lex l c) will handle split src/obj
directories.  If there is other C code in
the src directory, compile l into c in
place, and save srcdir for the c/o
directory split.  This separate all levels
of readable text source from binary,
platform-dependent object files.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 116 bytes, 14 lines
Powered by Google Project Hosting