summary refs log tree commit diff stats
path: root/nim/scanner.pas
diff options
context:
space:
mode:
Diffstat (limited to 'nim/scanner.pas')
-rw-r--r--nim/scanner.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/nim/scanner.pas b/nim/scanner.pas
index a78f9c6ce..d035b973b 100644
--- a/nim/scanner.pas
+++ b/nim/scanner.pas
@@ -428,7 +428,7 @@ begin
     L.bufpos := pos; // restore position
 
   try
-    if (L.buf[pos] = '0') and (L.buf[pos+1] in ['x','X','b','B','o','O'])
+    if (L.buf[pos] = '0') and (L.buf[pos+1] in ['x','X','b','B','o','O','c','C'])
     then begin
       inc(pos, 2);
       xi := 0;
@@ -451,7 +451,7 @@ begin
             end
           end
         end;
-        'o': begin
+        'o', 'c', 'C': begin
           result.base := base8;
           while true do begin
             case L.buf[pos] of