projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix build
[m6w6/ext-psi]
/
src
/
parser_proc_grammar.y
diff --git
a/src/parser_proc_grammar.y
b/src/parser_proc_grammar.y
index c076abd0e5a630f1db8c78e2fd5fd5d10a144a8c..fc0b75210aad1c9bee15ec96aa19f11745804624 100644
(file)
--- a/
src/parser_proc_grammar.y
+++ b/
src/parser_proc_grammar.y
@@
-1,5
+1,4
@@
%code top {
%code top {
-#include "php_psi_stdinc.h"
}
%code {
}
%code {
@@
-2321,7
+2320,7
@@
static void psi_parser_proc_error(struct psi_parser *P, struct psi_plist *tokens
psi_plist_get(tokens, last, &T);
if (T) {
psi_plist_get(tokens, last, &T);
if (T) {
-
in
t i = (last >= 5) ? last - 5 : 0;
+
size_
t i = (last >= 5) ? last - 5 : 0;
P->error(PSI_DATA(P), T, PSI_WARNING, "PSI %s at col %u", msg, T->col);
while (i <= last || T->type != PSI_T_EOS) {
P->error(PSI_DATA(P), T, PSI_WARNING, "PSI %s at col %u", msg, T->col);
while (i <= last || T->type != PSI_T_EOS) {