Fix macro syntax bug in app templates

This commit is contained in:
Vikram Rangnekar
2019-11-09 21:53:26 -05:00
parent 605ec63466
commit 3438c3efb9
9 changed files with 48 additions and 19 deletions

2
qcode/cleanup.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
cd corpus && rm -rf $(find . ! -name '00?.gql')

View File

@ -577,7 +577,7 @@ func (com *Compiler) compileArgID(sel *Select, arg *Arg) error {
case nodeVar:
ex.Type = ValVar
default:
fmt.Errorf("expecting a string, int, float or variable")
return fmt.Errorf("expecting a string, int, float or variable")
}
sel.Where = ex