fix char_width decl
authorMichael Wallner <mike@php.net>
Mon, 10 Dec 2018 12:24:18 +0000 (13:24 +0100)
committerMichael Wallner <mike@php.net>
Mon, 10 Dec 2018 12:24:18 +0000 (13:24 +0100)
src/parser_scan.re

index 437b33fde3ced9f56111f33defba0f459ec51cd8..0ba9978f7af9ca11570721133796eb12f0657edd 100644 (file)
@@ -66,9 +66,8 @@ struct psi_plist *psi_parser_scan(struct psi_parser *P, struct psi_parser_input
        struct psi_plist *tokens;
        struct psi_token *token;
        const char *tok, *cur, *lim, *mrk, *eol, *ctxmrk;
        struct psi_plist *tokens;
        struct psi_token *token;
        const char *tok, *cur, *lim, *mrk, *eol, *ctxmrk;
-       unsigned parens, lines = 1;
+       unsigned char_width, parens, lines = 1;
        bool escaped;
        bool escaped;
-       token_t char_width;
 
        PSI_DEBUG_PRINT(P, "PSI: scanning %s\n", I->file->val);
 
 
        PSI_DEBUG_PRINT(P, "PSI: scanning %s\n", I->file->val);