Tablegen doc bug?

Hello, says I can use octal integer value (indicated by a leading 0).
In fact the number is converted to decimal.

With best regards,

Looks like octal hasn’t been supported since the lexer was moved away from flex in r44210 in 2007. Not sure if the previous lexer supported it. The octal line has been in the documentation for tblgen since at least 2004.

I’ll fix the documentation unless anyone thinks we should add the octal support.

Please fix the dox. If someone cares about octal (unlikely, but could theoretically be useful for X86 which uses an octal encoding), it should be supported with “0o1234” syntax, imo.


Fixed in r287299.