summaryrefslogtreecommitdiffstats
path: root/recipes-extended/pme-tools/files
diff options
context:
space:
mode:
authorTing Liu <ting.liu@nxp.com>2016-05-18 14:05:48 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-08-12 11:41:02 -0300
commit6d2f4cc0a5a1ea99e0dae2f39d83cff512e034b8 (patch)
treef2711a6f3b2592925d8b492e3e41d1d2b6e89f90 /recipes-extended/pme-tools/files
parentd71f12c5779e5ca3ac142f0964a3783124a9c06f (diff)
downloadmeta-freescale-6d2f4cc0a5a1ea99e0dae2f39d83cff512e034b8.tar.gz
pme-tools: add recipe
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Diffstat (limited to 'recipes-extended/pme-tools/files')
-rw-r--r--recipes-extended/pme-tools/files/0001-pme-tools-fix-build-error.patch127
1 files changed, 127 insertions, 0 deletions
diff --git a/recipes-extended/pme-tools/files/0001-pme-tools-fix-build-error.patch b/recipes-extended/pme-tools/files/0001-pme-tools-fix-build-error.patch
new file mode 100644
index 00000000..5839d722
--- /dev/null
+++ b/recipes-extended/pme-tools/files/0001-pme-tools-fix-build-error.patch
@@ -0,0 +1,127 @@
1From 576218f3a173dcd8b68b7c247612d1b585906742 Mon Sep 17 00:00:00 2001
2From: Zhenhua Luo <zhenhua.luo@nxp.com>
3Date: Wed, 13 Jan 2016 04:07:12 -0600
4Subject: [PATCH] pme-tools: fix build error
5
6Fix the following build error:
7| *.y: error: expected ';' before '}' token
8
9Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
10---
11 compilers/regularExpression/engine/pmrec.y | 6 ++--
12 compilers/statefulRule/engine/pmsrc.y | 46 ++++++++++++++--------------
13 2 files changed, 26 insertions(+), 26 deletions(-)
14
15diff --git a/compilers/regularExpression/engine/pmrec.y b/compilers/regularExpression/engine/pmrec.y
16index ececd81..a9bed4b 100644
17--- a/compilers/regularExpression/engine/pmrec.y
18+++ b/compilers/regularExpression/engine/pmrec.y
19@@ -2939,7 +2939,7 @@ input : /* empty */
20 | end_of_lines
21 | input regex
22 | input error
23- {return(pmrec_syntax_error_e)}
24+ {return(pmrec_syntax_error_e);}
25 ;
26
27 regex : start_regex branches end_regex
28@@ -3324,9 +3324,9 @@ one_character_regex : non_meta_character
29 ;
30
31 non_meta_characters : non_meta_character
32- {_pmrec_context_p->currentPattern_p->blockAnchorNumSymbols++}
33+ {_pmrec_context_p->currentPattern_p->blockAnchorNumSymbols++;}
34 | non_meta_characters non_meta_character
35- {_pmrec_context_p->currentPattern_p->blockAnchorNumSymbols++}
36+ {_pmrec_context_p->currentPattern_p->blockAnchorNumSymbols++;}
37 ;
38
39 non_meta_character : alpha
40diff --git a/compilers/statefulRule/engine/pmsrc.y b/compilers/statefulRule/engine/pmsrc.y
41index 513e22f..0bc4d6a 100644
42--- a/compilers/statefulRule/engine/pmsrc.y
43+++ b/compilers/statefulRule/engine/pmsrc.y
44@@ -6361,45 +6361,45 @@ state_definitions : state_definition
45 ;
46
47 reserved_word : RULE_LABEL
48- {$$ = $1}
49+ {$$ = $1;}
50 | RESET_ON_LABEL
51- {$$ = $1}
52+ {$$ = $1;}
53 | RESET_STATE_LABEL
54- {$$ = $1}
55+ {$$ = $1;}
56 | EVENT_LABEL
57- {$$ = $1}
58+ {$$ = $1;}
59 | STATE_LABEL
60- {$$ = $1}
61+ {$$ = $1;}
62 | NEXT_STATE_LABEL
63- {$$ = $1}
64+ {$$ = $1;}
65 | EXIT_LABEL
66- {$$ = $1}
67+ {$$ = $1;}
68 | GPRV
69- {$$ = $1}
70+ {$$ = $1;}
71 | TEMP_GPRV
72- {$$ = $1}
73+ {$$ = $1;}
74 | GLOBAL_GPRV
75- {$$ = $1}
76+ {$$ = $1;}
77 | FLAG
78- {$$ = $1}
79+ {$$ = $1;}
80 | VOLATILE_FLAG
81- {$$ = $1}
82+ {$$ = $1;}
83 | REPORT_LABEL
84- {$$ = $1}
85+ {$$ = $1;}
86 | WRITE_LABEL
87- {$$ = $1}
88+ {$$ = $1;}
89 | WHILE
90- {$$ = $1}
91+ {$$ = $1;}
92 | BREAK
93- {$$ = $1}
94+ {$$ = $1;}
95 | IF
96- {$$ = $1}
97+ {$$ = $1;}
98 | ELSE
99- {$$ = $1}
100+ {$$ = $1;}
101 | LOGICAL_AND
102- {$$ = $1}
103+ {$$ = $1;}
104 | LOGICAL_OR
105- {$$ = $1}
106+ {$$ = $1;}
107 | END_OF_SUI
108 {$$ = $1;
109 _pmsrc_parse_warning(_pmsrc_context_p,
110@@ -6408,11 +6408,11 @@ reserved_word : RULE_LABEL
111 }
112
113 no_keywords_name : NAME
114- {$$ = $1}
115+ {$$ = $1;}
116 | DEC_NUM
117- {$$ = $1}
118+ {$$ = $1;}
119 | HEX_NUM
120- {$$ = $1}
121+ {$$ = $1;}
122 ;
123 any_name : no_keywords_name
124 | reserved_word
125--
1261.7.9.5
127