projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maint: trust Automake for parser headers.
[bison.git]
/
tests
/
calc.at
diff --git
a/tests/calc.at
b/tests/calc.at
index 0e5d0ec6dbf329b2c8c8423e75269bf0bcd084f1..b8e5612a9e90a5971fdd568ecba1a5524cb7244e 100644
(file)
--- a/
tests/calc.at
+++ b/
tests/calc.at
@@
-1,6
+1,6
@@
# Simple calculator. -*- Autotest -*-
# Simple calculator. -*- Autotest -*-
-# Copyright (C) 2000-201
1
Free Software Foundation, Inc.
+# Copyright (C) 2000-201
2
Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-249,7
+249,7
@@
int yylex (]AT_LEX_FORMALS[);
%token <ival> NUM "number"
%type <ival> exp
%token <ival> NUM "number"
%type <ival> exp
-%nonassoc '=' /* comparison */
+%nonassoc '=' /* comparison
*/
%left '-' '+'
%left '*' '/'
%precedence NEG /* negation--unary minus */
%left '-' '+'
%left '*' '/'
%precedence NEG /* negation--unary minus */
@@
-332,10
+332,10
@@
AT_YYERROR_SEES_LOC_IF([
AT_LOC_FIRST_LINE, AT_LOC_FIRST_COLUMN);
if (AT_LOC_FIRST_LINE != AT_LOC_LAST_LINE)
fprintf (stderr, "-%d.%d",
AT_LOC_FIRST_LINE, AT_LOC_FIRST_COLUMN);
if (AT_LOC_FIRST_LINE != AT_LOC_LAST_LINE)
fprintf (stderr, "-%d.%d",
- AT_LOC_LAST_LINE, AT_LOC_LAST_COLUMN - 1);
+
AT_LOC_LAST_LINE, AT_LOC_LAST_COLUMN - 1);
else if (AT_LOC_FIRST_COLUMN != AT_LOC_LAST_COLUMN - 1)
fprintf (stderr, "-%d",
else if (AT_LOC_FIRST_COLUMN != AT_LOC_LAST_COLUMN - 1)
fprintf (stderr, "-%d",
- AT_LOC_LAST_COLUMN - 1);
+
AT_LOC_LAST_COLUMN - 1);
fprintf (stderr, ": ");])
fprintf (stderr, "%s\n", s);
}])[
fprintf (stderr, ": ");])
fprintf (stderr, "%s\n", s);
}])[