1 # To print the code correctly : a2ps --pretty-print=c-ced.ssh
4 # Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
8 # This file is part of a2ps.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2, or (at your option)
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; see the file COPYING. If not, write to
22 # the Free Software Foundation, 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA.
29 written by "Akim Demaille <akim@freefriends.org>"
32 "This style does not highlight the function definitions."
33 "Another style which highlights them, GNUish C, is provided (gnuc.ssh)."
34 "It works only if you respect some syntactic conventions."
38 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_#$%"
46 keywords in Keyword are
47 double, enum, void, int, long, FILE, struct, char, signed, float,
51 keywords in Keyword_strong are
52 auto, "case", const, continue, do, inline, extern, for, register,
53 return, switch, union, goto, typedef, sizeof, typeof, volatile, static,
54 NULL, default, break, if, while, else
57 optional operators are
58 (/(case)([ ]+)(.+)([ ]*:)/
59 \1 Keyword_strong, \2 Plain, \3 Label, \4 Plain)
62 optional operators are
68 # We need to protect these, so that <= is not replaced in <<=