]> granicus.if.org Git - re2c/commit
Cleanup in codegen (minor changes in '-D, --emit-dot' output).
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 1 May 2016 11:59:24 +0000 (12:59 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 1 May 2016 11:59:24 +0000 (12:59 +0100)
commitff902c2a70a367d226c93bfef0340482a4c91799
treecd4a2aebac59187acd937ec075afd7b3297ebb11
parent14db44c0de3978090483dddbd3e74c6b771b7a1d
Cleanup in codegen (minor changes in '-D, --emit-dot' output).

    - more elegant hanling of default case when generatin code
      for 'switch' cases
    - dumbed down complex logic behind the generation of sequential
      'if' statements: explicitely list all different cases and
      corresponding conditions
re2c/src/codegen/go.h
re2c/src/codegen/go_construct.cc
re2c/src/codegen/go_destruct.cc
re2c/src/codegen/go_emit.cc
re2c/src/codegen/go_used_labels.cc
re2c/test/dot2.--emit-dot.c
re2c/test/dot_ranges.--emit-dot.c
re2c/test/php20150211_zend_ini_scanner.c--emit-dot--flex-syntax--case-inverted.c
re2c/test/php20150211_zend_language_scanner.c--emit-dot--flex-syntax--case-inverted.c
re2c/test/scanner_re2c_default.--emit-dot.c