diff options
Diffstat (limited to 'src/parsers/cst')
-rw-r--r-- | src/parsers/cst/integer_cst.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parsers/cst/integer_cst.cpp b/src/parsers/cst/integer_cst.cpp index b5b3686..ebdfe7a 100644 --- a/src/parsers/cst/integer_cst.cpp +++ b/src/parsers/cst/integer_cst.cpp @@ -34,6 +34,11 @@ namespace Generic void parseIntegerCstNode(IntegerCstNode *node) { fillType(node); + if (!tree_fits_shwi_p(node->gccNode)) + { + node->noLabel = true; + return; + } if (tree_int_cst_sgn(node->gccNode) < 0) { node->label = "-"; |