diff options
author | Keith Packard <keithp@keithp.com> | 2003-04-15 23:38:06 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2003-04-15 23:38:06 +0000 |
commit | 3f7653c2badeb426f938bafe1a82c2917b7ea125 (patch) | |
tree | bc820a13520bdc1c12ca9e92b78938a439aaa0e9 /fonts.dtd | |
parent | 52253696cd2779bd9040457fbd157bbe75895ed6 (diff) |
Fix unary operator parsing. Add floor, ceil, trunc and round unary
operators
Diffstat (limited to 'fonts.dtd')
-rw-r--r-- | fonts.dtd | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -91,7 +91,7 @@ <!ENTITY % expr 'int|double|string|matrix|bool|charset |name|const |or|and|eq|not_eq|less|less_eq|more|more_eq|contains|not_contains - |plus|minus|times|divide|not|if'> + |plus|minus|times|divide|not|if|floor|ceil|round|trunc'> <!-- Match and edit patterns. @@ -180,3 +180,7 @@ <!ELEMENT divide (%expr;)*> <!ELEMENT not (%expr;)> <!ELEMENT if ((%expr;), (%expr;), (%expr;))> +<!ELEMENT floor (%expr;)> +<!ELEMENT ceil (%expr;)> +<!ELEMENT round (%expr;)> +<!ELEMENT trunc (%expr;)> |