File: bugged_parsercheck

package info (click to toggle)
antimony 0.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 6,472 kB
  • sloc: cpp: 42,596; ansic: 28,661; python: 1,093; yacc: 128; lex: 114; sh: 90; makefile: 10
file content (41 lines) | stat: -rw-r--r-- 1,373 bytes parent folder | download | duplicates (3)
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
Description: Remove bugged lemon parser
 See https://github.com/mkeeter/antimony/issues/196 for more info.
 .
 antimony (0.9.3) testing; urgency=low
 .
   * Initial packaging. Based on Peter Felecan <peter@felecan.org> package work
    from upstream repository. (Closes: #907435)
Author: Tiago Bortoletto Vaz <tiago@debian.org>
Bug-Debian: https://bugs.debian.org/907435

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-08-27

--- antimony-0.9.3.orig/lib/fab/src/tree/v2syntax.y
+++ antimony-0.9.3/lib/fab/src/tree/v2syntax.y
@@ -37,15 +37,6 @@
 %syntax_error
 {
 	environment->valid = false;
-#ifndef NDEBUG
-	int n = sizeof(yyTokenName) / sizeof(yyTokenName[0]);
-	for (int i = 0; i < n; ++i) {
-		int a = yy_find_shift_action(yypParser, (YYCODETYPE)i);
-		if (a < YYNSTATE + YYNRULE) {
-		printf("possible token: %s\n", yyTokenName[i]);
-		}
-	}
-#endif
 }