File: parser.rb

package info (click to toggle)
form 4.1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 5,880 kB
  • ctags: 4,927
  • sloc: ansic: 91,660; cpp: 7,026; sh: 4,184; ruby: 1,238; makefile: 433
file content (21 lines) | stat: -rw-r--r-- 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#[ NegArgument :
=begin
	Parser accepted negative numbers as arguments to Dimension, Tracen, ...
 	Fixed 2009-09-08
=end
class NegArgument < FormTest
def setup
	input <<-EOF
Dimension -1;
I i;
L f = d_(i,i);
print;
.end
	EOF
end
def test1
	execute FORM
	assert compile_error
end
end
#] NegArgument :