c673908d
by Francis De Brabandere at 2026-05-19T23:19:08+02:00
vbscript: Parse octal numeric literals (&O...).
Native cscript accepts &O0, &O17, &O177777, etc. as octal integer literals.
Wine was emitting err 1002 (syntax error) for any &O prefix because the
lexer only recognised &H. Add an oct_to_int helper and parse_oct_literal
allowing up to 32-bit values; overflow uses a ULONGLONG accumulator since
11-digit octal can exceed 32 bits.