Menu

Tree [13a856] master /
 History

HTTPS access


File Date Author Commit
 Licence_CeCILL-B_V1-en.txt 2013-10-23 clanguage clanguage [11ef38] Addition of the Cecill-B licence
 Makefile 2013-10-22 clanguage clanguage [7349d2] Initial commit
 README 2013-11-08 fabrice fabrice [52efc3] git test purpose
 ref_res_test.txt 2014-05-12 elodie elodie [13a856] new file to give a reference result when runnin...
 suppr_RFC.l 2013-12-06 elodie elodie [fbeb94] Update to fit new specs. Bug remains on deletin...
 suppr_RFC.y 2014-05-12 elodie elodie [701288] bug fixed : end of line is not needed on the la...
 test.txt 2014-05-12 elodie elodie [701288] bug fixed : end of line is not needed on the la...

Read Me

######################################
## Nested C-style comments deletion ##
######################################

Licence :
---------

This program is licenced under CeCILL-B licence, which is BSD-style licence.
A copy of this licence is distributed with this software.
More information : http://www.cecill.info/licences.en.html


Introduction : 
--------------

This program is used to remove C-style comments containing a specific pattern from a file. 
C-style comments that do not contain at least one of the pattern will not be erased.

C-style comments   : /* ... */
Pattern recognized : RFC-[0-9]{3,6}  ## RFC-000 to RFC-999999
                     STD-[0-9]{3,6}  ## STD-000 to STD-999999


Compilation : 
-------------

> make all


Usage : 
-------

On a file : 
> ./suppr_RFC input_file.c

From command line (mainly for tests purpose) :
> ./suppr_RFC 

If no output file is precised, output will be printed to the standard output


Clean : 
-------

Remove all compilation's files, but keep the executable
> make clean

Remove everything but sources and Makefile :
> make cleanall



Known bugs :
------------

If having a line with only spaces and tabs, the line is kept but not the spaces nor the tabs.

Planned enhancements :
----------------------

Script to run the program on all files of a given directory
Script to check the validity of the program on a sample