diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2013-02-16 14:21:09 +0100 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2013-02-18 10:01:28 +0100 |
commit | 4c9b8f1318c68238074ee19e7ab976a22924540e (patch) | |
tree | ff427cbb5ce5d139b8aab56c0c1107cd1dfd9728 /tests/existing.at | |
parent | 45eebca42dbcc60074000828ec8422ef99d979f6 (diff) | |
download | bison-4c9b8f1318c68238074ee19e7ab976a22924540e.tar.gz |
style: no longer use backquotes
* tests/actions.at, tests/atlocal.in, tests/c++.at, tests/calc.at,
* tests/conflicts.at, tests/existing.at, tests/glr-regression.at,
* tests/input.at, tests/java.at, tests/local.at, tests/sets.at,
* tests/synclines.at, doc/bison.texi, lib/libiberty.h, lib/timevar.h:
Use single quotes.
Diffstat (limited to 'tests/existing.at')
-rw-r--r-- | tests/existing.at | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/existing.at b/tests/existing.at index 6aa7a398..1772ac54 100644 --- a/tests/existing.at +++ b/tests/existing.at @@ -403,26 +403,26 @@ dnl parses it as: dnl dnl getline $!(4*0); dnl -dnl That is, they shift `*' immediately and make it part of the getline +dnl That is, they shift '*' immediately and make it part of the getline dnl argument. dnl dnl The grammar below using LALR(1) parses it as a syntax error. So does dnl GNU AWK 3.0.6, 3.1.0, and 3.1.1. They reduce the full getline expression -dnl before shifting `*' even though `*' is not a valid lookahead. +dnl before shifting '*' even though '*' is not a valid lookahead. dnl dnl GNU AWK 3.1.2, 3.1.3, 3.1.4, and 3.1.5 parse it as: dnl dnl (getline $!4)*0; dnl dnl That is, like the other versions of GNU AWK, they reduce the full getline -dnl expression before shifting `*'. However, because of a different LHS on the -dnl getline rule, `*' actually is a valid lookahead. Solaris /usr/xpg4/bin/awk +dnl expression before shifting '*'. However, because of a different LHS on the +dnl getline rule, '*' actually is a valid lookahead. Solaris /usr/xpg4/bin/awk dnl and the Open Group awk specification seem to agree: dnl dnl http://www.opengroup.org/pubs/online/7908799/xcu/awk.html dnl dnl /bin/nawk and /bin/awk on Solaris 10 report it as a syntax error, but they -dnl don't like even `print $!4;'. +dnl don't like even 'print $!4;'. [[LEX_GETLINE, '$', '!', YNUMBER, '*', YNUMBER, ';']], dnl BISON-STDERR @@ -1649,7 +1649,7 @@ box "foo" above ljust == box ("foo" above ljust) %left LEFT RIGHT /* Give attributes that take an optional expression a higher -precedence than left and right, so that eg `line chop left' +precedence than left and right, so that eg 'line chop left' parses properly. */ %left CHOP SOLID DASHED DOTTED UP DOWN FILL COLORED OUTLINED %left LABEL @@ -1662,7 +1662,7 @@ parses properly. */ /* these need to be lower than '-' */ %left HEIGHT RADIUS WIDTH DIAMETER FROM TO AT THICKNESS -/* these must have higher precedence than CHOP so that `label %prec CHOP' +/* these must have higher precedence than CHOP so that 'label %prec CHOP' works */ %left DOT_N DOT_E DOT_W DOT_S DOT_NE DOT_SE DOT_NW DOT_SW DOT_C %left DOT_START DOT_END TOP BOTTOM LEFT_CORNER RIGHT_CORNER |