Calculations are done on expr, if given. Otherwise, the standard input is used. Numbers can be entered in hexadecimal (0xbeef), decimal (1984), octal (007), and binary (0b1001). All numerical operators (+, -, *, /, %), bit operators (|, ^, &, ~, <<, >>), and logical operators (==, !=, <, >, <=, >=, !, &&, ||) are supported. WWW: http://cyth.net/~ray/moo/ PR: ports/111824 Submitted by: Steven Kreuzer <skreuzer at f2o.org>
11 lines
293 B
Text
11 lines
293 B
Text
--- moo.y.orig Thu Apr 5 14:14:22 2007
|
|
+++ moo.y Thu Apr 5 14:14:29 2007
|
|
@@ -37,7 +37,7 @@
|
|
|
|
static void divbyzero(void);
|
|
static void printnum(int64_t);
|
|
-__dead static void usage(void);
|
|
+__dead2 static void usage(void);
|
|
void yyerror(char *);
|
|
int yylex(void);
|
|
int yyparse(void);
|