code: def t_OCTAL(t):
      r'[0-7]+[oO]'
      t.value = t.value[:-1]
      t.type = 'NUMBER'
      t.value = int(t.value, 8)
  
      return f t_OCTAL(t):
      r'[0-7]+[oO]'
      t.value = t.value[:-1]
      t.type = 'NUMBER'
      t.value = int(t.value, 8)
  
      return t
docs: r'[0-7]+[oO]