Fix missed has_setjmp_h convert to exclude_setjmp_h

This commit is contained in:
Jean Rubillon
2021-01-28 12:57:02 +00:00
parent 4ae268dbbe
commit 9e1c6c068d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class CMockGenerator
@ordered = @config.enforce_strict_ordering
@framework = @config.framework.to_s
@fail_on_unexpected_calls = @config.fail_on_unexpected_calls
@has_setjmp_h = @config.has_setjmp_h
@exclude_setjmp_h = @config.exclude_setjmp_h
@subdir = @config.subdir
+1 -1
View File
@@ -12,7 +12,7 @@ class CMockGeneratorPluginCexception
@config = config
@utils = utils
@priority = 7
raise 'Error: cexception is not supported without setjmp support' unless @config.has_setjmp_h
raise 'Error: cexception is not supported without setjmp support' if @config.exclude_setjmp_h
end
def include_files