X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=tools%2Fcake.c;h=3563b1fe0ac5f946119c3c1302c38024dfbfcbbe;hb=9b936bfc394f6ae383128008202dcb82851085d4;hp=78059fea9ccf2a5c62bf0236e706b1a96171379e;hpb=7f13bdad04b8baa469ca5b7daab394f689733f52;p=svn%2FCll1h%2F.git diff --git a/tools/cake.c b/tools/cake.c index 78059fe..3563b1f 100644 --- a/tools/cake.c +++ b/tools/cake.c @@ -2,11 +2,39 @@ program { - for_arguments + int state = 0; + string filename = NULL,line = NULL; + file f = NULL; + + + try { + f = file_write("_cake.c"); + for_directory_filenames(filename,"./") + { + for_file_lines(line,filename) + { + for_chars(znak,line) + { + switch(znak) + { + case '<': state + case '>': + case '?': + case 'C': + case '%': + case '{': + case '}': + default: + } + } + } + } + } - + if_exception_switch + { + case ERROR_FILE: + } - - }