This file is indexed.

/usr/share/doc/libopentoken-doc/examples/wisi/test/unused_tokens.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
42
43
44
45
46
47
48
49
50
51
52
53
;; Wisent grammar with unused tokens, to test unused token reporting

%{
(require 'wisi)
%}

%keyword FUNCTION "function"
%keyword LEFT_PAREN "("
%keyword PROCEDURE "procedure"
%keyword RIGHT_PAREN ")"
%keyword UNUSED_TERMINAL_1 "unused_terminal_1"
%keyword UNUSED_TERMINAL_2 "unused_terminal_2"
%keyword UNUSED_TERMINAL_3 "unused_terminal_3"

%token <symbol> SYMBOL

%start compilation_unit

%%

unused_nonterm_1
  : unused_nonterm_2 UNUSED_TERMINAL_1
  ;

compilation_unit
  : declarations
  ;

declarations
  : declaration
  | declarations declaration
  ;

declaration
  : subprogram
  ;

subprogram
  : FUNCTION parameter_list SYMBOL
  | PROCEDURE parameter_list
  ;
  
parameter_list
  : LEFT_PAREN SYMBOL RIGHT_PAREN
  ;

unused_nonterm_2
  : LEFT_PAREN RIGHT_PAREN
  ;

%%

;; end of file