Index: head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l =================================================================== --- head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l (revision 454156) +++ head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l (revision 454157) @@ -1,26 +1,23 @@ ---- source/compiler/aslsupport.l.orig 2017-09-29 15:34:59 UTC +--- source/compiler/aslsupport.l.orig 2017-11-10 16:05:28 UTC +++ source/compiler/aslsupport.l @@ -525,7 +525,7 @@ static void count ( int Type) { - int i; -+ int c, i; ++ char *p; switch (Type) -@@ -547,10 +547,12 @@ count ( +@@ -547,9 +547,9 @@ count ( break; } - for (i = 0; (yytext[i] != 0) && (yytext[i] != EOF); i++) -+ i = 0; -+ while ((c = yytext[i]) != 0 && c != EOF) ++ for (p = yytext; *p != '\0'; p++) { - AslInsertLineBuffer (yytext[i]); -+ AslInsertLineBuffer (c); ++ AslInsertLineBuffer (*p); *Gbl_LineBufPtr = 0; -+ i++; } } -