summaryrefslogtreecommitdiff
path: root/parse/parse.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-10-15 21:59:43 -0700
committerOri Bernstein <ori@eigenstate.org>2018-10-15 21:59:43 -0700
commitaeff53ae83c1b00f86934d85033d710f8826ba36 (patch)
tree6f089d885f68c596970e227101d25606b6d8990f /parse/parse.h
parentb17873ed4e6a14786758fd68290ef572b0b88f10 (diff)
downloadmc-aeff53ae83c1b00f86934d85033d710f8826ba36.tar.gz
Disallow negative array sizes. And do some cleanup.
Diffstat (limited to 'parse/parse.h')
-rw-r--r--parse/parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/parse.h b/parse/parse.h
index 4e1bbd1..a33af81 100644
--- a/parse/parse.h
+++ b/parse/parse.h
@@ -562,6 +562,7 @@ void addextlibs(char **libs, size_t nlibs);
/* expression folding */
Node *fold(Node *n, int foldvar);
+int getintlit(Node *lit, vlong *val);
/* typechecking/inference */
void infer(void);