|
Adam requested that setmessage/getmessage be made to work for closures, which were previously not allowed to be messages.
OK, so this does it.
Also note opportunistic fixing of two bugs: (1) in typecheck.cpp, compiler was unintentionally disallowing messages that were arrays. (2) in opmessage.cpp:161, subtle bug where Name is uniform, Val is varying, message being retrieved was varying, didn't properly set the 'varying' flag, resulting in only the first point's value being copied to Val properly.
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+89 lines, -21 lines) |
Patch |
|
M |
src/doc/languagespec.tex
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/include/osl_pvt.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/liboslcomp/typecheck.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/liboslexec/context.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/liboslexec/opmessage.cpp
|
View
|
|
8 chunks |
+58 lines, -16 lines |
4 comments
|
Download
|
|
M |
src/liboslexec/oslexec_pvt.h
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
testsuite/message/a.osl
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
testsuite/message/b.osl
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
testsuite/message/ref/out.txt
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6
|