From 65c7618c2a8834616b009195f10c6cd762f43b8a Mon Sep 17 00:00:00 2001 From: Mincho Paskalev Date: Wed, 7 Nov 2018 10:31:59 +0200 Subject: Добавяне на второ домашно (#30) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add 1st hw * --amend * moving readme for 1st hw to designated folder * renamed TokenType enum to TokenClass * fixed character constant lexing. added sampe output file * add new line at end-of-file. added gitignore * a bit of refactoring * adding cyclomatic complexity * refactored * adding cyclomatic complexity * refactored --- homework/81568/c2html/cyclomatic.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 homework/81568/c2html/cyclomatic.h (limited to 'homework/81568/c2html/cyclomatic.h') diff --git a/homework/81568/c2html/cyclomatic.h b/homework/81568/c2html/cyclomatic.h new file mode 100644 index 0000000..29fdc1c --- /dev/null +++ b/homework/81568/c2html/cyclomatic.h @@ -0,0 +1,19 @@ +#ifndef CYCLOMATIC_H +#define CYCLOMATIC_H + +#include + +// Given this +// is 20,000 LOC, I'll probably leave parsing +// 'C' as a course project +// #courseproject + +// class Parser; + +namespace ParCer { + +unsigned outputWithCyclomaticComplexity(FILE *fpIn, FILE *fpOut); + +} /* Namespace ParCer */ + +#endif /* CYCLOMATIC_H */ -- cgit v1.3.1-26-gb76a