diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/glsl_parser.yy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser.yy b/src/compiler/glsl/glsl_parser.yy index 91c10ce1a60..cb7376995d2 100644 --- a/src/compiler/glsl/glsl_parser.yy +++ b/src/compiler/glsl/glsl_parser.yy @@ -2706,6 +2706,7 @@ external_declaration: | declaration { $$ = $1; } | pragma_statement { $$ = NULL; } | layout_defaults { $$ = $1; } + | ';' { $$ = NULL; } ; function_definition: |