Skip to content
Snippets Groups Projects
Commit 7efa6721 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added tag constant.

Rev: tutorial/Wmml.pmod:1.16
parent 58faf4d7
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,9 @@ static private int verify_any(SGML data, string in) ...@@ -61,7 +61,9 @@ static private int verify_any(SGML data, string in)
case "module": case "module":
case "class": case "class":
case "method": case "method":
case "variable":
case "function": case "function":
case "constant":
case "man_description": case "man_description":
case "man_see": case "man_see":
case "man_syntax": case "man_syntax":
...@@ -693,7 +695,9 @@ SGML low_make_concrete_wmml(SGML data) ...@@ -693,7 +695,9 @@ SGML low_make_concrete_wmml(SGML data)
} }
case "method": case "method":
case "variable":
case "function": case "function":
case "constant":
{ {
array anchors=({}),fullnames=({}); array anchors=({}),fullnames=({});
...@@ -708,9 +712,11 @@ SGML low_make_concrete_wmml(SGML data) ...@@ -708,9 +712,11 @@ SGML low_make_concrete_wmml(SGML data)
else switch(tag->tag) else switch(tag->tag)
{ {
case "method": case "method":
case "variable":
fullname=classbase->query()+"->"+name; fullname=classbase->query()+"->"+name;
break; break;
case "function": case "function":
case "constant":
fullname=classbase->query()+"."+name; fullname=classbase->query()+"."+name;
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment