aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/lex.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-09-17 05:15:36 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-09-17 05:15:36 +0000
commit5dbeb128d9d33ef23e15b65dad1c7cc28793692d (patch)
tree5324a239d8658af99c9f07bfb4bc67b31c74c90b /gcc/go/gofrontend/lex.h
parentf0e1e86d226c40d8f13f1abd1f8fac7017075000 (diff)
downloadgcc-5dbeb128d9d33ef23e15b65dad1c7cc28793692d.zip
gcc-5dbeb128d9d33ef23e15b65dad1c7cc28793692d.tar.gz
gcc-5dbeb128d9d33ef23e15b65dad1c7cc28793692d.tar.bz2
compile: Detect invalid and likely-bad import statements.
* Make-lang.in (go/gogo.o): Depend on filenames.h. From-SVN: r191372
Diffstat (limited to 'gcc/go/gofrontend/lex.h')
-rw-r--r--gcc/go/gofrontend/lex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/lex.h b/gcc/go/gofrontend/lex.h
index 8858e73..074bbae 100644
--- a/gcc/go/gofrontend/lex.h
+++ b/gcc/go/gofrontend/lex.h
@@ -375,6 +375,10 @@ class Lex
static int
fetch_char(const char* str, unsigned int *value);
+ // Return whether C is a Unicode or "C" locale space character.
+ static bool
+ is_unicode_space(unsigned int c);
+
private:
ssize_t
get_line();