AT_CHECK([bison -v input.y -o input.c])
-AT_CHECK([fgrep 'tests = {{{{{{{{{{}}}}}}}}}};' input.c], 0, [ignore])
+AT_CHECK([grep 'tests = {{{{{{{{{{}}}}}}}}}};' input.c], 0, [ignore])
AT_CLEANUP
input.y:6.1: invalid character: `%'
input.y:6.2: invalid character: `-'
input.y:7.1-8.0: unexpected end of file in a prologue
-input.y:7.1-8.0: parse error, unexpected "%{...}%", expecting ";" or "|"
+input.y:7.1-8.0: parse error, unexpected "%{...%}", expecting ";" or "|"
]])
AT_CLEANUP
+## -------------------- ##
+## Characters Escapes. ##
+## -------------------- ##
+
+
+AT_SETUP([Characters Escapes])
+
+AT_DATA([input.y],
+[%{
+void yyerror (const char *s);
+int yylex (void);
+%}
+[%%
+exp:
+ '\'' "\'"
+| '\"' "\""
+| '"' "'"
+;
+]])
+
+AT_CHECK([bison input.y -o input.c])
+AT_COMPILE([input.o], [-c input.c])
+AT_CLEANUP
+
+
+
## -------------- ##
## Web2c Report. ##
## -------------- ##