Fix bug caused by m4 consuming pairs of square brackets (#108).
6 function update_file() {
12 * This file is a part of LEMON, a generic C++ optimization library
14 * Copyright (C) "$YEAR"
15 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
16 * (Egervary Research Group on Combinatorial Optimization, EGRES).
18 * Permission to use, modify and distribute this software is granted
19 * provided that this copyright notice appears in all copies. For
20 * precise terms see the accompanying LICENSE file.
22 * This software is provided \"AS IS\" with no warranty of any kind,
23 * express or implied, and with no claim as to its suitability for any
30 /\/\* / && pm==0 { pm=1;}
31 /[^:blank:]/ && (pm==0 || pm==2) { pm=3; print;}
32 /\*\// && pm==1 { pm=2;}
36 mv $TMP_FILE $FILE_NAME
41 echo -n Update all source files...
42 for i in `hg manifest|grep -E '\.(cc|h|dox)$'`
44 update_file $HGROOT/$i