1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #864 resolved

Prolog numeric literals parsed incorrectly

created an issue

Prolog allows for the notation base'digits for numeric literals (e.g., 16'deadbeef), as well as 0'c for character literals. However, pygments doesn't lex this and the following line is parsed incorrectly:

L = [16'deadbeef, 8'600, 0'x].

The best documentation I've been able to find is the B-Prolog manual.

Comments (1)

  1. Log in to comment