bump the version
This commit is contained in:
		
							parent
							
								
									6dbe6ec436
								
							
						
					
					
						commit
						1b26f3e65a
					
				| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
{
 | 
			
		||||
    "examples/test.html" readall disp
 | 
			
		||||
    argv shatter dump
 | 
			
		||||
} ":3333" servehttp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -1082,6 +1082,8 @@ func Interpret(code Expr, argv []string, w io.Writer) error {
 | 
			
		|||
				req = append(req, r.RequestURI)
 | 
			
		||||
				req = append(req, string(b))
 | 
			
		||||
				req = append(req, r.Method)
 | 
			
		||||
				// maybe should add the headers here
 | 
			
		||||
				// add the number of arguments for the header
 | 
			
		||||
 | 
			
		||||
				err = Interpret(fun, req, w)
 | 
			
		||||
				if err != nil {
 | 
			
		||||
| 
						 | 
				
			
			@ -1103,7 +1105,7 @@ func Interpret(code Expr, argv []string, w io.Writer) error {
 | 
			
		|||
			}
 | 
			
		||||
			push(Expr{STRING, nil, string(filedata), 0})
 | 
			
		||||
		case VERSION:
 | 
			
		||||
			fmt.Fprintf(w, "var'aq -- 0.9.1 Martoq")
 | 
			
		||||
			fmt.Fprintf(w, "var'aq -- 0.9.2 Martoq")
 | 
			
		||||
		case ARGV:
 | 
			
		||||
			arg := Expr{LIST, make([]Expr, 0), nil, 0}
 | 
			
		||||
			for _, v := range argv {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue