Annotation of embedaddon/libpdel/tmpl/test/test.out.sav, revision 1.1
1.1 ! misho 1:
! 2: Calling func1: [ func1(arg1, arg two) ]
! 3:
! 4: Calling func2(3): [ func2([ func3() ]) ]
! 5:
! 6:
! 7: foo="bar"
! 8: bar=""
! 9:
! 10: foo="blab"
! 11:
! 12: [ ERROR: @error_test(this is, a test): Sample error message here ]
! 13:
! 14: HTML Escaping "!@#$%^&*()}{][-|\"';:?></.,~`" --> !@#$%^&*()}{][-|\"';:?></.,~`
! 15:
! 16: URL Encoding "!@#$%^&*()}{][-|\"';:?></.,~`" --> !@%23$%25%5e&*()%7d%7b%5d%5b-%7c%5c%22'%3b:%3f%3e%3c%2f.,~%60
! 17:
! 18: An at sign looks like this: ``@''
! 19:
! 20: Should see this.
! 21: Should see this.
! 22:
! 23: @and("0", "0") = 0
! 24: @and("0", "1") = 0
! 25: @and("1", "0") = 0
! 26: @and("1", "1") = 1
! 27: @or("0", "0") = 0
! 28: @or("0", "1") = 1
! 29: @or("1", "0") = 1
! 30: @or("1", "1") = 1
! 31:
! 32: Should see this.
! 33:
! 34: @parse error()
! 35: @parseerror(()
! 36: @parseerror(@okfunc([ ERROR: @okfunc(): unknown template function ], loopindex()), @bad func())
! 37: @parseerror("bogus string\")
! 38: @parseerror("bogus string
! 39:
! 40: [ ERROR: @foo_bar(): unknown template function ]
! 41: [ ERROR: @foobar(abc): unknown template function ]
! 42: [ ERROR: @janfu(ABC): unknown template function ]
! 43: [ ERROR: @janfu(ABC): unknown template function ]
! 44:
! 45: This is iteration 0.0.
! 46: This is iteration 0.1.
! 47: This is iteration 0.2.
! 48:
! 49: This is iteration 1.0.
! 50: This is iteration 1.1.
! 51: This is iteration 1.2.
! 52:
! 53:
! 54:
! 55: just some random data here.
! 56:
! 57: 0..1..2....done
! 58: what follows was @eval()'d:
! 59: loop: 0..1..2....done
! 60:
! 61: [ ERROR: error string ]
! 62:
! 63: MARKER C
! 64:
! 65:
! 66:
! 67:
! 68:
! 69:
! 70:
! 71:
! 72: MARKER D
! 73:
! 74:
! 75:
! 76: First iteration
! 77:
! 78:
! 79:
! 80: Second iteration
! 81:
! 82:
! 83:
! 84: Last iteration
! 85:
! 86:
! 87:
! 88: MARKER E
! 89:
! 90: This should be "abc": "abc"
! 91:
! 92: 3: should see this
! 93:
! 94: 4: should see this
! 95:
! 96:
! 97:
! 98:
! 99: @ notfunc()
! 100:
! 101:
! 102:
! 103: Foo is 4
! 104:
! 105:
! 106:
! 107: Foo is 3
! 108:
! 109:
! 110:
! 111:
! 112: Foo is 2
! 113:
! 114:
! 115:
! 116:
! 117:
! 118:
! 119:
! 120:
! 121: [ ERROR: @invoke(): "argc" must be greater than zero ]
! 122:
! 123: [ ERROR: @(): unknown template function ]
! 124:
! 125: [ ERROR: @unknown_function(): unknown template function ]
! 126:
! 127:
! 128:
! 129:
! 130:
! 131: Number of arguments is 3
! 132: Argument #0 is "dfunc".
! 133: Argument #1 is "1st argument".
! 134: Argument #2 is "2nd argument".
! 135:
! 136:
! 137:
! 138: 23 / 4 = 5
! 139: 123 / 0 = divide by zero
! 140: -12 % 5 = -2
! 141:
! 142:
! 143: Number of arguments is 4
! 144: Argument #0 is "dfunc".
! 145: Argument #1 is "foo".
! 146: Argument #2 is "bar".
! 147: Argument #3 is "jan".
! 148:
! 149:
! 150:
! 151:
! 152:
! 153: Another def'n of dfunc (3 args)
! 154:
! 155:
! 156:
! 157: [ ERROR: too much recursion in template execution ]
! 158:
! 159: last line
! 160:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>