Skip to content
Snippets Groups Projects
Commit f7d89149 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Compile.

parent 959edbe1
No related merge requests found
......@@ -31,6 +31,7 @@
#include "glslparser.h"
#include <cctype>
#include <iostream>
#include <cstdio>
using namespace GLSL;
......@@ -79,9 +80,9 @@ enum {
int Lexer::yylex_helper(const char **position, int *line)
{
again:
while (std::isspace(_yychar))
yyinp();
again:
while (std::isspace(_yychar))
yyinp();
*position = _it - 1;
*line = _lineno;
......@@ -116,7 +117,7 @@ again:
}
goto again;
// one of `!', `!='
// one of `!', `!='
case '!':
if (_yychar == '=') {
yyinp();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment