/usr/share/doc/libopentoken-doc/examples/wisi/test/empty_production_3.wy is in libopentoken-doc 6.0b-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | ;;; finding bug in parse table generator; two nonterms at end of
;;; production, where first can be empty, were handled wrong.
%{
(require 'wisi)
%}
%keyword IN "in"
%token <symbol> IDENTIFIER
%token <whitespace> WHITESPACE ""
%start compilation_unit
%%
compilation_unit
: parameter_specification parameter_specification
(setq wisi-test-success 't)
;
mode
: ;; empty
| IN
;
name
: IDENTIFIER
;
parameter_specification
: IDENTIFIER mode name
;
%%
;; Local Variables:
;; eval: (add-hook 'before-save-hook 'delete-trailing-whitespace nil t)
;; End:
;;; end of file
|