Skip to content

Commit

Permalink
Update Ring For Android
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudFayed committed Nov 16, 2018
1 parent d9f4469 commit c86cea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/ringlibsdl/project/jni/ring/src/ring_scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ int ring_scanner_checklasttoken ( Scanner *pScanner )
assert(pScanner != NULL);
if ( ring_list_getsize(pScanner->Tokens) == 0 ) {
if ( pScanner->state == SCANNER_STATE_COMMENT ) {
return 0 ;
return 1 ;
}
}
if ( pScanner->state == SCANNER_STATE_LITERAL ) {
Expand Down
2 changes: 1 addition & 1 deletion android/ringqt/project/ring_scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ int ring_scanner_checklasttoken ( Scanner *pScanner )
assert(pScanner != NULL);
if ( ring_list_getsize(pScanner->Tokens) == 0 ) {
if ( pScanner->state == SCANNER_STATE_COMMENT ) {
return 0 ;
return 1 ;
}
}
if ( pScanner->state == SCANNER_STATE_LITERAL ) {
Expand Down

0 comments on commit c86cea9

Please sign in to comment.