summaryrefslogtreecommitdiffstats
path: root/testing/060_command_switch.tcl
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-07-13 18:56:57 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-07-13 18:56:57 (GMT)
commit3a5e6ac7c6018a7a0da7acd830293da0fcb7a21c (patch)
tree6564136751751a3b310329aef2b12e59f909d10a /testing/060_command_switch.tcl
parentec7789738e9d42f75b295a4673930e30da3c48a9 (diff)
downloadDoxygen-3a5e6ac7c6018a7a0da7acd830293da0fcb7a21c.zip
Doxygen-3a5e6ac7c6018a7a0da7acd830293da0fcb7a21c.tar.gz
Doxygen-3a5e6ac7c6018a7a0da7acd830293da0fcb7a21c.tar.bz2
Disabled/fixed segments that produced doxygen warnings while running the test
Diffstat (limited to 'testing/060_command_switch.tcl')
-rw-r--r--testing/060_command_switch.tcl38
1 files changed, 19 insertions, 19 deletions
diff --git a/testing/060_command_switch.tcl b/testing/060_command_switch.tcl
index ab556d0..407f2e9 100644
--- a/testing/060_command_switch.tcl
+++ b/testing/060_command_switch.tcl
@@ -204,29 +204,29 @@ proc s args {
return
}
# wrong syntax
-proc x args {
- catch {switch -exact -- [Invoked] pattern1 NotInvoked pattern2}
- return
-}
+#proc x args {
+# catch {switch -exact -- [Invoked] pattern1 NotInvoked pattern2}
+# return
+#}
# The current version does not check the last argument beforehand.
# Therefore, all script elements are evaluated as scripts before
# the parser detects the dangling pattern. It throws a warning, at the very least.
# Anyway, for working code the documentation will be correct.
-proc y args {
- catch {switch -exact -- [Invoked] {
- pattern {
- NotInvoked
- }
- NotInvoked {
- NotInvoked
- }
- default {
- NotInvoked
- }
- pattern
- }}
- return
-}
+#proc y args {
+# catch {switch -exact -- [Invoked] {
+# pattern {
+# NotInvoked
+# }
+# NotInvoked {
+# NotInvoked
+# }
+# default {
+# NotInvoked
+# }
+# pattern
+# }}
+# return
+#}
#
# call all single letter procs
# let tcl check what is called and what is not called