import bug fixes
parent
39410a12a3
commit
7ebd145ad0
|
@ -111,7 +111,6 @@ package_declaration:
|
|||
;
|
||||
|
||||
import_declaration:
|
||||
| IMPORT { printf("\033[1;36mHELLO, IMPORT BLOCK\n\033[0m"); } LPAREN RPAREN { printf("\033[1;36mBY, IMPORT BLOCK\n\n\033[0m"); }
|
||||
| IMPORT { printf("\033[1;36mHELLO, IMPORT BLOCK\n\033[0m"); } import { printf("\033[1;36mBY, IMPORT BLOCK\n\n\033[0m"); }
|
||||
| IMPORT { printf("\033[1;36mHELLO, IMPORT BLOCK\n\033[0m"); } LPAREN import_list RPAREN { printf("\033[1;36mBY, IMPORT BLOCK\n\n\033[0m"); }
|
||||
;
|
||||
|
|
|
@ -2,11 +2,6 @@ package main
|
|||
|
||||
import "fmt"
|
||||
|
||||
func test(a string, b int) int {
|
||||
|
||||
}
|
||||
|
||||
func main() {
|
||||
test("123", 2)
|
||||
fmt.Println("hello, sailor!")
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package main;
|
||||
|
||||
import "fmt";
|
||||
|
||||
func test_func(a string, b int, c uint16) int {
|
||||
var x int = 42;
|
||||
y := "hello";
|
||||
|
|
Loading…
Reference in New Issue