]> git.draconx.ca Git - cdecl99.git/blob - src/ordspecs.sed
Avoid a couple warnings reported by gcc.
[cdecl99.git] / src / ordspecs.sed
1 1i\
2 /*\
3  * Copyright © 2011 Nick Bowler\
4  *\
5  * License WTFPL2: Do What The Fuck You Want To Public License, version 2.\
6  * This is free software: you are free to do what the fuck you want to.\
7  * There is NO WARRANTY, to the extent permitted by law.\
8  */
9 1i\
10 /*\
11  * This file is automatically generated by ordspecs.sed.\
12  */
13 /[^_[:alpha:][:space:]]/b
14 s/[[:space:]][[:space:]]*/ /g
15 s/_//g
16 y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/
17 s/\([[:upper:]]*\) \([[:upper:]]*\)/case CDECL_\1_\2:/
18 p
19 i\
20         return
21 =
22 a\
23         ;
24 d