src/hcl/lexer.py
def t_intnumber(self, t):
        r'-?\d+'
        t.value = int(t.value)
        t.type = 'NUMBER'
        return t
def t_intnumber(self, t):
        r'-?\d+'
        t.value = int(t.value)
        t.type = 'NUMBER'
        return t
def t_intnumber ( self , t ) : t . value = int ( t . value ) t . type = 'NUMBER' return t
r'-?\d+
r - ? \ d +